Forgotten in #5039, change statuses_tags tag_id to bigint (#5070)

This commit is contained in:
Eugen Rochko 2017-09-24 05:58:07 +02:00 committed by GitHub
parent adc38078dd
commit b2820c3913
2 changed files with 10 additions and 1 deletions

View File

@ -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

View 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"