Revision 5ef4cb38
Added by Ohad Levy almost 12 years ago
- ID 5ef4cb38875e409bfa2d81219df10f7731491c64
db/migrate/20120612070100_change_bookmark_column_to_text.rb | ||
---|---|---|
class ChangeBookmarkColumnToText < ActiveRecord::Migration
|
||
def self.up
|
||
change_column 'bookmarks', :query, :text, :limit => false
|
||
end
|
||
|
||
def self.down
|
||
change_column 'bookmarks', :query, :string
|
||
end
|
||
end
|
||
|
Also available in: Unified diff
allow to store long queries as a bookmark