parent
adc38078dd
commit
b2820c3913
9
db/migrate/20170924022025_ids_to_bigints2.rb
Normal file
9
db/migrate/20170924022025_ids_to_bigints2.rb
Normal 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
|
|
@ -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"
|
||||||
|
|
Reference in a new issue