Commit 8195f954 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Fixes migrations that change string limits for sqlite.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1222 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 494a6ecf
class ChangeChangesetsCommitterLimit < ActiveRecord::Migration class ChangeChangesetsCommitterLimit < ActiveRecord::Migration
def self.up def self.up
change_column :changesets, :committer, :string change_column :changesets, :committer, :string, :limit => nil
end end
def self.down def self.down
......
class ChangeAttachmentsContentTypeLimit < ActiveRecord::Migration class ChangeAttachmentsContentTypeLimit < ActiveRecord::Migration
def self.up def self.up
change_column :attachments, :content_type, :string change_column :attachments, :content_type, :string, :limit => nil
end end
def self.down def self.down
......
class ChangeAuthSourcesAccountLimit < ActiveRecord::Migration class ChangeAuthSourcesAccountLimit < ActiveRecord::Migration
def self.up def self.up
change_column :auth_sources, :account, :string change_column :auth_sources, :account, :string, :limit => nil
end end
def self.down def self.down
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment