mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 19:14:03 +00:00
feat(member): add household lifecycle states
This commit is contained in:
@@ -194,6 +194,7 @@ export const members = pgTable(
|
||||
.references(() => households.id, { onDelete: 'cascade' }),
|
||||
telegramUserId: text('telegram_user_id').notNull(),
|
||||
displayName: text('display_name').notNull(),
|
||||
lifecycleStatus: text('lifecycle_status').default('active').notNull(),
|
||||
preferredLocale: text('preferred_locale'),
|
||||
rentShareWeight: integer('rent_share_weight').default(1).notNull(),
|
||||
isAdmin: integer('is_admin').default(0).notNull(),
|
||||
|
||||
Reference in New Issue
Block a user