mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Add name to customers
This commit is contained in:
5
db/migrate/20160713013358_add_name_to_customer.rb
Normal file
5
db/migrate/20160713013358_add_name_to_customer.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddNameToCustomer < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :customers, :name, :string
|
||||
end
|
||||
end
|
||||
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20160713003535) do
|
||||
ActiveRecord::Schema.define(:version => 20160713013358) do
|
||||
|
||||
create_table "account_invoices", :force => true do |t|
|
||||
t.integer "user_id", :null => false
|
||||
@@ -87,6 +87,7 @@ ActiveRecord::Schema.define(:version => 20160713003535) do
|
||||
t.datetime "updated_at", :null => false
|
||||
t.integer "bill_address_id"
|
||||
t.integer "ship_address_id"
|
||||
t.string "name"
|
||||
end
|
||||
|
||||
add_index "customers", ["bill_address_id"], :name => "index_customers_on_bill_address_id"
|
||||
|
||||
Reference in New Issue
Block a user