diff --git a/db/migrate/20150122165042_change_address_type_to_text_in_external_feed.rb b/db/migrate/20150122165042_change_address_type_to_text_in_external_feed.rb new file mode 100644 index 0000000..817dd34 --- /dev/null +++ b/db/migrate/20150122165042_change_address_type_to_text_in_external_feed.rb @@ -0,0 +1,9 @@ +class ChangeAddressTypeToTextInExternalFeed < ActiveRecord::Migration + def up + change_column :external_feeds, :address, :text + end + + def down + change_column :external_feeds, :address, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index 2d97bfb..a6fe8b8 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -315,7 +315,7 @@ ActiveRecord::Schema.define(:version => 20140827191326) do create_table "external_feeds", :force => true do |t| t.string "feed_title" t.datetime "fetched_at" - t.string "address" + t.text "address" t.integer "blog_id", :null => false t.boolean "enabled", :default => true, :null => false t.boolean "only_once", :default => true, :null => false -- libgit2 0.21.2