socialforge/db/migrate/084_change_auth_sources_acc...

10 lines
240 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
class ChangeAuthSourcesAccountLimit < ActiveRecord::Migration
def self.up
change_column :auth_sources, :account, :string, :limit => nil
end
def self.down
change_column :auth_sources, :account, :string, :limit => 60
end
end