Remove column - fixing error
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
class DeleteRecipientIdFromCart < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
remove_column :carts, :recipient_destination_id
|
||||||
|
end
|
||||||
|
end
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
#
|
#
|
||||||
# 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: 20160112091903) do
|
ActiveRecord::Schema.define(version: 20160122145944) do
|
||||||
|
|
||||||
# These are extensions that must be enabled in order to support this database
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "plpgsql"
|
enable_extension "plpgsql"
|
||||||
@@ -33,7 +33,6 @@ ActiveRecord::Schema.define(version: 20160112091903) do
|
|||||||
t.boolean "canceled_on_delivery", default: false
|
t.boolean "canceled_on_delivery", default: false
|
||||||
t.boolean "delivered", default: false
|
t.boolean "delivered", default: false
|
||||||
t.text "internal_note"
|
t.text "internal_note"
|
||||||
t.integer "recipient_destination_id"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "categories", force: :cascade do |t|
|
create_table "categories", force: :cascade do |t|
|
||||||
|
|||||||
Reference in New Issue
Block a user