discourse/db/migrate/20130205021905_alter_facebook_user_id.rb

12 lines
297 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class AlterFacebookUserId < ActiveRecord::Migration[4.2]
2013-02-06 03:16:51 +08:00
def up
change_column :facebook_user_infos, :facebook_user_id, :integer, limit: 8, null: false
2013-02-06 03:16:51 +08:00
end
def down
change_column :facebook_user_infos, :facebook_user_id, :integer, null: false
end
end