@@ -1,9 +1,9 | |||||
1 | class ChangeChangesetsCommitterLimit < ActiveRecord::Migration |
|
1 | class ChangeChangesetsCommitterLimit < ActiveRecord::Migration | |
2 | def self.up |
|
2 | def self.up | |
3 | change_column :changesets, :committer, :string |
|
3 | change_column :changesets, :committer, :string, :limit => nil | |
4 | end |
|
4 | end | |
5 |
|
5 | |||
6 | def self.down |
|
6 | def self.down | |
7 | change_column :changesets, :committer, :string, :limit => 30 |
|
7 | change_column :changesets, :committer, :string, :limit => 30 | |
8 | end |
|
8 | end | |
9 | end |
|
9 | end |
@@ -1,9 +1,9 | |||||
1 | class ChangeAttachmentsContentTypeLimit < ActiveRecord::Migration |
|
1 | class ChangeAttachmentsContentTypeLimit < ActiveRecord::Migration | |
2 | def self.up |
|
2 | def self.up | |
3 | change_column :attachments, :content_type, :string |
|
3 | change_column :attachments, :content_type, :string, :limit => nil | |
4 | end |
|
4 | end | |
5 |
|
5 | |||
6 | def self.down |
|
6 | def self.down | |
7 | change_column :attachments, :content_type, :string, :limit => 60 |
|
7 | change_column :attachments, :content_type, :string, :limit => 60 | |
8 | end |
|
8 | end | |
9 | end |
|
9 | end |
@@ -1,9 +1,9 | |||||
1 | class ChangeAuthSourcesAccountLimit < ActiveRecord::Migration |
|
1 | class ChangeAuthSourcesAccountLimit < ActiveRecord::Migration | |
2 | def self.up |
|
2 | def self.up | |
3 | change_column :auth_sources, :account, :string |
|
3 | change_column :auth_sources, :account, :string, :limit => nil | |
4 | end |
|
4 | end | |
5 |
|
5 | |||
6 | def self.down |
|
6 | def self.down | |
7 | change_column :auth_sources, :account, :string, :limit => 60 |
|
7 | change_column :auth_sources, :account, :string, :limit => 60 | |
8 | end |
|
8 | end | |
9 | end |
|
9 | end |
General Comments 0
You need to be logged in to leave comments.
Login now