mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Update db/migrate/20230308075421_create_invoices.rb
Co-authored-by: Maikel <maikel@email.org.au>
This commit is contained in:
committed by
Konrad
parent
73cdcca022
commit
7a0686786d
@@ -3,7 +3,7 @@
|
||||
class CreateInvoices < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
create_table :invoices do |t|
|
||||
t.references :order, foreign_key: true, foreign_key: { to_table: :spree_orders }
|
||||
t.references :order, foreign_key: { to_table: :spree_orders }
|
||||
t.string :status
|
||||
t.integer :number
|
||||
t.jsonb :data
|
||||
|
||||
Reference in New Issue
Block a user