Commit cbf7f84798ef72a28d7365edbec8d7d90327ecc6

Authored by Braulio Bhavamitra
1 parent 0dd4a244

external_feed: Change column type to allow big addresses

db/migrate/20150122165042_change_address_type_to_text_in_external_feed.rb 0 → 100644
... ... @@ -0,0 +1,9 @@
  1 +class ChangeAddressTypeToTextInExternalFeed < ActiveRecord::Migration
  2 + def up
  3 + change_column :external_feeds, :address, :text
  4 + end
  5 +
  6 + def down
  7 + change_column :external_feeds, :address, :string
  8 + end
  9 +end
... ...
db/schema.rb
... ... @@ -315,7 +315,7 @@ ActiveRecord::Schema.define(:version =&gt; 20140827191326) do
315 315 create_table "external_feeds", :force => true do |t|
316 316 t.string "feed_title"
317 317 t.datetime "fetched_at"
318   - t.string "address"
  318 + t.text "address"
319 319 t.integer "blog_id", :null => false
320 320 t.boolean "enabled", :default => true, :null => false
321 321 t.boolean "only_once", :default => true, :null => false
... ...