mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 17:44:03 +00:00
feat(payments): add transparent balance guidance
This commit is contained in:
@@ -27,6 +27,9 @@ export const householdBillingSettings = pgTable(
|
||||
.notNull()
|
||||
.references(() => households.id, { onDelete: 'cascade' }),
|
||||
settlementCurrency: text('settlement_currency').default('GEL').notNull(),
|
||||
paymentBalanceAdjustmentPolicy: text('payment_balance_adjustment_policy')
|
||||
.default('utilities')
|
||||
.notNull(),
|
||||
rentAmountMinor: bigint('rent_amount_minor', { mode: 'bigint' }),
|
||||
rentCurrency: text('rent_currency').default('USD').notNull(),
|
||||
rentDueDay: integer('rent_due_day').default(20).notNull(),
|
||||
|
||||
Reference in New Issue
Block a user