mirror of
https://gitea.gofwd.group/dstrawsb/ballistic-builder.git
synced 2025-12-06 02:36:44 -05:00
10 lines
447 B
TypeScript
10 lines
447 B
TypeScript
|
|
import { pgTable, integer, varchar } from "drizzle-orm/pg-core";
|
||
|
|
import { sql } from "drizzle-orm";
|
||
|
|
import { timestamps } from "./columns.helpers";
|
||
|
|
|
||
|
|
export const accounts = pgTable("bal_accounts", {
|
||
|
|
id: integer().primaryKey().generatedAlwaysAsIdentity({ name: "accountsid_seq", startWith: 1, increment: 1, minValue: 1, maxValue: 2147483647, cache: 1 }),
|
||
|
|
first_name: varchar({ length: 40 }),
|
||
|
|
last_name: varchar({ length: 40 }),
|
||
|
|
...timestamps
|
||
|
|
})
|