From 8195f95464bed5dd08305589f305a23bbd6ad245 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 9 Mar 2008 18:25:37 +0000 Subject: [PATCH] Fixes migrations that change string limits for sqlite. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1222 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- db/migrate/060_change_changesets_committer_limit.rb | 2 +- db/migrate/070_change_attachments_content_type_limit.rb | 2 +- db/migrate/084_change_auth_sources_account_limit.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/db/migrate/060_change_changesets_committer_limit.rb b/db/migrate/060_change_changesets_committer_limit.rb index 5cc2f0d1d..b05096379 100644 --- a/db/migrate/060_change_changesets_committer_limit.rb +++ b/db/migrate/060_change_changesets_committer_limit.rb @@ -1,6 +1,6 @@ class ChangeChangesetsCommitterLimit < ActiveRecord::Migration def self.up - change_column :changesets, :committer, :string + change_column :changesets, :committer, :string, :limit => nil end def self.down diff --git a/db/migrate/070_change_attachments_content_type_limit.rb b/db/migrate/070_change_attachments_content_type_limit.rb index e3dfacc3c..ebf6d08c3 100644 --- a/db/migrate/070_change_attachments_content_type_limit.rb +++ b/db/migrate/070_change_attachments_content_type_limit.rb @@ -1,6 +1,6 @@ class ChangeAttachmentsContentTypeLimit < ActiveRecord::Migration def self.up - change_column :attachments, :content_type, :string + change_column :attachments, :content_type, :string, :limit => nil end def self.down diff --git a/db/migrate/084_change_auth_sources_account_limit.rb b/db/migrate/084_change_auth_sources_account_limit.rb index 6a933b894..cc127b439 100644 --- a/db/migrate/084_change_auth_sources_account_limit.rb +++ b/db/migrate/084_change_auth_sources_account_limit.rb @@ -1,6 +1,6 @@ class ChangeAuthSourcesAccountLimit < ActiveRecord::Migration def self.up - change_column :auth_sources, :account, :string + change_column :auth_sources, :account, :string, :limit => nil end def self.down