diff --git a/db/migrate/20150716154501_remove_external_link_from_debates.rb b/db/migrate/20150716154501_remove_external_link_from_debates.rb new file mode 100644 index 000000000..5991b363d --- /dev/null +++ b/db/migrate/20150716154501_remove_external_link_from_debates.rb @@ -0,0 +1,5 @@ +class RemoveExternalLinkFromDebates < ActiveRecord::Migration + def change + remove_column :debates, :external_link + end +end diff --git a/db/schema.rb b/db/schema.rb index c3f3ec2dd..0d8cba5b5 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,15 +11,14 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20150715190041) do +ActiveRecord::Schema.define(version: 20150716154501) do create_table "debates", force: :cascade do |t| t.string "title" t.text "description" - t.string "external_link" t.integer "author_id" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", null: false + t.datetime "updated_at", null: false end end