mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Adding not null to temp_controlled field of shipping_categories
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class AddTemperatureControlledToSpreeShippingCategories < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :spree_shipping_categories, :temperature_controlled, :boolean
|
||||
add_column :spree_shipping_categories, :temperature_controlled, :boolean, null: false, default: false
|
||||
end
|
||||
end
|
||||
|
||||
@@ -863,7 +863,7 @@ ActiveRecord::Schema.define(:version => 20150220035501) do
|
||||
t.string "name"
|
||||
t.datetime "created_at", :null => false
|
||||
t.datetime "updated_at", :null => false
|
||||
t.boolean "temperature_controlled"
|
||||
t.boolean "temperature_controlled", :null => false
|
||||
end
|
||||
|
||||
create_table "spree_shipping_methods", :force => true do |t|
|
||||
|
||||
Reference in New Issue
Block a user