Add payout modes and production switchover schema

This commit is contained in:
Ben
2026-06-20 13:59:05 -04:00
parent a33c530268
commit a9d425f32f
61 changed files with 4164 additions and 1029 deletions
+4
View File
@@ -1,5 +1,6 @@
import { Column, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
import { PayoutMode } from '../../types/payout-mode';
import { TrackedEntity } from '../utils/TrackedEntity.entity';
@@ -24,6 +25,9 @@ export class ClientEntity extends TrackedEntity {
@Column({ length: 8, type: 'varchar', })
sessionId: string;
@Column({ length: 16, type: 'varchar', default: 'solo' })
payoutMode: PayoutMode;
@Column({ length: 128, type: 'varchar', nullable: true })
userAgent: string;