removes unused column [#5]

This commit is contained in:
rgarcia
2015-07-16 19:24:27 +02:00
parent c2d5b36fb5
commit b1f19f124d
2 changed files with 8 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
class RemoveExternalLinkFromDebates < ActiveRecord::Migration
def change
remove_column :debates, :external_link
end
end

View File

@@ -11,12 +11,11 @@
# #
# It's strongly recommended that you check this file into your version control system. # 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| create_table "debates", force: :cascade do |t|
t.string "title" t.string "title"
t.text "description" t.text "description"
t.string "external_link"
t.integer "author_id" t.integer "author_id"
t.datetime "created_at", null: false t.datetime "created_at", null: false
t.datetime "updated_at", null: false t.datetime "updated_at", null: false