diff options
author | Thibaut Girka <thib@sitedethib.com> | 2020-04-05 18:32:06 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2020-04-05 18:32:06 +0200 |
commit | 9101254d0a70bc6f899c093f33300cffceb7c8ac (patch) | |
tree | c8e9e95a36ffb2346e3168d00364e4b614bee92a /db | |
parent | 6e426267a762f3cd1efa2c5fb120a13543567775 (diff) | |
parent | 85f0e0a606905ecda1322a0f7b65d8b4ff91dd69 (diff) |
Merge branch 'master' into glitch-soc/merge-upstream
Conflicts: - `app/javascript/packs/public.js`: Upstream modified code that we split between multiple files due to glitch-soc's theming system. Ported those changes.
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20200312162302_add_status_ids_to_announcements.rb | 6 | ||||
-rw-r--r-- | db/schema.rb | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20200312162302_add_status_ids_to_announcements.rb b/db/migrate/20200312162302_add_status_ids_to_announcements.rb new file mode 100644 index 000000000..42aa6513d --- /dev/null +++ b/db/migrate/20200312162302_add_status_ids_to_announcements.rb @@ -0,0 +1,6 @@ +class AddStatusIdsToAnnouncements < ActiveRecord::Migration[5.2] + def change + add_column :announcements, :status_ids, :bigint, array: true + end +end + diff --git a/db/schema.rb b/db/schema.rb index 392cc739c..c294d762b 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -231,6 +231,7 @@ ActiveRecord::Schema.define(version: 2020_03_12_185443) do t.datetime "created_at", null: false t.datetime "updated_at", null: false t.datetime "published_at" + t.bigint "status_ids", array: true end create_table "backups", force: :cascade do |t| |