about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-09-24 05:58:07 +0200
committerGitHub <noreply@github.com>2017-09-24 05:58:07 +0200
commitb2820c3913266711716c6d91b2198d964881dbba (patch)
treee9a421911c64d058c095a316146625511457db7e /db/migrate
parentadc38078dde102d4b6e98d364ada47fa3dd3f22c (diff)
Forgotten in #5039, change statuses_tags tag_id to bigint (#5070)
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20170924022025_ids_to_bigints2.rb9
1 files changed, 9 insertions, 0 deletions
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