blob: 6e309033424c9bbc848d5e2802f66c932d50f3e6 (
plain)
1
2
3
4
5
6
7
8
9
|
class ChangeDocumentsTitleLimit < ActiveRecord::Migration
def self.up
change_column :documents, :title, :string, :limit => nil, :default => '', :null => false
end
def self.down
change_column :documents, :title, :string, :limit => 60, :default => '', :null => false
end
end
|