1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-15 23:28:14 +09:00
mastodon/db/migrate/20170924022025_ids_to_bigints2.rb

12 lines
222 B
Ruby
Raw 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