mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
Fixes migrations that change string limits for sqlite.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1222 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
494a6ecfb0
commit
8195f95464
@ -1,6 +1,6 @@
|
|||||||
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
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
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
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user