fix: clean up payout migrations, remove ghosts, add defaults and indexes
This commit is contained in:
@@ -6,6 +6,8 @@ class CreateEarnings < ActiveRecord::Migration[8.0]
|
||||
t.integer :status
|
||||
t.string :stripe_payout_id
|
||||
|
||||
t.integer :net_amount_cents
|
||||
|
||||
t.references :event, null: false, foreign_key: false, index: true
|
||||
t.references :user, null: false, foreign_key: false, index: true
|
||||
t.references :order, null: false, foreign_key: false, index: true
|
||||
|
||||
Reference in New Issue
Block a user