redmine/db/migrate/084_change_auth_sources_account_limit.rb
Jean-Philippe Lang 8195f95464 Fixes migrations that change string limits for sqlite.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1222 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-09 18:25:37 +00:00

10 lines
240 B
Ruby

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