Browse Source

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

pull/4/head
Eugen Rochko 6 years ago
committed by GitHub
parent
commit
b2820c3913
2 changed files with 10 additions and 1 deletions
  1. +9
    -0
      db/migrate/20170924022025_ids_to_bigints2.rb
  2. +1
    -1
      db/schema.rb

+ 9
- 0
db/migrate/20170924022025_ids_to_bigints2.rb 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

+ 1
- 1
db/schema.rb 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"

Loading…
Cancel
Save