removes unused column [#5]
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class RemoveExternalLinkFromDebates < ActiveRecord::Migration
|
||||
def change
|
||||
remove_column :debates, :external_link
|
||||
end
|
||||
end
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user