From b2820c3913266711716c6d91b2198d964881dbba Mon Sep 17 00:00:00 2001
From: Eugen Rochko <eugen@zeonfederated.com>
Date: Sun, 24 Sep 2017 05:58:07 +0200
Subject: [PATCH] Forgotten in #5039, change statuses_tags tag_id to bigint
 (#5070)

---
 db/migrate/20170924022025_ids_to_bigints2.rb | 9 +++++++++
 db/schema.rb                                 | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)
 create mode 100644 db/migrate/20170924022025_ids_to_bigints2.rb

diff --git a/db/migrate/20170924022025_ids_to_bigints2.rb b/db/migrate/20170924022025_ids_to_bigints2.rb
new file mode 100644
index 000000000..db8ccd919
--- /dev/null
+++ b/db/migrate/20170924022025_ids_to_bigints2.rb
@@ -0,0 +1,9 @@
+class IdsToBigints2 < ActiveRecord::Migration[5.1]
+  def up
+    change_column :statuses_tags, :tag_id, :bigint
+  end
+
+  def down
+    change_column :statuses_tags, :tag_id, :integer
+  end
+end
diff --git a/db/schema.rb b/db/schema.rb
index cf4edf9e5..e16599d32 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -10,7 +10,7 @@
 #
 # It's strongly recommended that you check this file into your version control system.
 
-ActiveRecord::Schema.define(version: 20170918125918) do
+ActiveRecord::Schema.define(version: 20170924022025) do
 
   # These are extensions that must be enabled in order to support this database
   enable_extension "plpgsql"