wip move stuff to a plugin

This commit is contained in:
Philipp Rothmann 2023-07-24 16:17:19 +02:00
parent 9a34f174a6
commit 6e80f81c54
22 changed files with 174 additions and 812 deletions

View file

@ -1,13 +0,0 @@
class CreateGroupOrderInvoices < ActiveRecord::Migration[5.2]
def change
create_table :group_order_invoices do |t|
t.integer :group_order_id
t.bigint :invoice_number, unique: true, limit: 8
t.date :invoice_date
t.string :payment_method
t.timestamps
end
add_index :group_order_invoices, :group_order_id, unique: true
end
end