Glitch-Shrike/db/migrate/20170924022025_ids_to_bigin...

12 lines
222 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
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