feat: add promoter payouts controller and routes

This commit is contained in:
kbe
2025-09-16 23:52:49 +02:00
parent 0399761fb3
commit d922d7304d
9 changed files with 41 additions and 7 deletions

View File

@@ -52,7 +52,8 @@ class DeviseCreateUsers < ActiveRecord::Migration[8.0]
# Add onboarding check on user model
t.boolean :onboarding_completed, default: false, null: false
# add_column :users, :stripe_connected_account_id, :string
# Link user to Stripe account for promoter payout
t.string :stripe_connected_account_id
t.timestamps null: false
end

View File

@@ -1,6 +0,0 @@
class AddPayoutFieldsToEvents < ActiveRecord::Migration[8.0]
def change
add_column :events, :payout_requested_at, :datetime
add_column :events, :payout_status, :integer
end
end