]> cat aescling's git repositories - mastodon.git/commitdiff
Forgotten in #5039, change statuses_tags tag_id to bigint (#5070)
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 24 Sep 2017 03:58:07 +0000 (05:58 +0200)
committerGitHub <noreply@github.com>
Sun, 24 Sep 2017 03:58:07 +0000 (05:58 +0200)
db/migrate/20170924022025_ids_to_bigints2.rb [new file with mode: 0644]
db/schema.rb

diff --git a/db/migrate/20170924022025_ids_to_bigints2.rb b/db/migrate/20170924022025_ids_to_bigints2.rb
new file mode 100644 (file)
index 0000000..db8ccd9
--- /dev/null
@@ -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
index cf4edf9e5c2fcee6cff62d9135aacfa1edb92337..e16599d3238de0e482a1216d51835d47c0be8610 100644 (file)
@@ -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"