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

master
Eugen Rochko 7 years ago committed by GitHub
parent adc38078dd
commit b2820c3913
  1. 9
      db/migrate/20170924022025_ids_to_bigints2.rb
  2. 2
      db/schema.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

@ -10,7 +10,7 @@
# #
# It's strongly recommended that you check this file into your version control system. # 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 # These are extensions that must be enabled in order to support this database
enable_extension "plpgsql" enable_extension "plpgsql"

Loading…
Cancel
Save