mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-17 03:10:38 +09:00
Harden budget enforcement and migration startup
This commit is contained in:
parent
411952573e
commit
5f2c2ee0e2
15 changed files with 9473 additions and 122 deletions
|
|
@ -7,6 +7,8 @@ export const companies = pgTable(
|
|||
name: text("name").notNull(),
|
||||
description: text("description"),
|
||||
status: text("status").notNull().default("active"),
|
||||
pauseReason: text("pause_reason"),
|
||||
pausedAt: timestamp("paused_at", { withTimezone: true }),
|
||||
issuePrefix: text("issue_prefix").notNull().default("PAP"),
|
||||
issueCounter: integer("issue_counter").notNull().default(0),
|
||||
budgetMonthlyCents: integer("budget_monthly_cents").notNull().default(0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue