mirror of
https://github.com/redmine/redmine.git
synced 2025-11-07 22:05:56 +01:00
10 lines
264 B
Ruby
10 lines
264 B
Ruby
|
|
class ChangeProjectsHomepageLimit < ActiveRecord::Migration
|
||
|
|
def self.up
|
||
|
|
change_column :projects, :homepage, :string, :limit => nil, :default => ''
|
||
|
|
end
|
||
|
|
|
||
|
|
def self.down
|
||
|
|
change_column :projects, :homepage, :string, :limit => 60, :default => ''
|
||
|
|
end
|
||
|
|
end
|