removed special offer id from items
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class CreateDeliveryTimeEstimations < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :delivery_time_estimations do |t|
|
||||
t.string :name
|
||||
t.integer :duration_in_days
|
||||
|
||||
t.timestamps null: false
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
class AddDeliveryTimeEstimationToItem < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :items, :delivery_time_estimation_id, :integer
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
class RemoveSpecialOfferIdFromItem < ActiveRecord::Migration
|
||||
def change
|
||||
remove_column :items, :special_offer_id
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user