about summary refs log tree commit diff
path: root/db
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-04-06 21:44:34 +0200
committerGitHub <noreply@github.com>2020-04-06 21:44:34 +0200
commitc47be5bd864a1f5244f35122ba7fae31a149c73d (patch)
treec8e9e95a36ffb2346e3168d00364e4b614bee92a /db
parent6e426267a762f3cd1efa2c5fb120a13543567775 (diff)
parent9101254d0a70bc6f899c093f33300cffceb7c8ac (diff)
Merge pull request #1312 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20200312162302_add_status_ids_to_announcements.rb6
-rw-r--r--db/schema.rb1
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|