mirror of
https://gitea.gofwd.group/dstrawsb/ballistic-builder.git
synced 2025-12-06 02:36:44 -05:00
auth aint working, trying new version
This commit is contained in:
12
src/db/schema-delete/Build.ts
Normal file
12
src/db/schema-delete/Build.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { pgTable, integer, varchar, text, uuid } from "drizzle-orm/pg-core";
|
||||
import { sql } from "drizzle-orm";
|
||||
import { timestamps } from "../../drizzle/schema/helpers/columns.helpers";
|
||||
|
||||
export const Build = pgTable("builds", {
|
||||
id: integer().primaryKey().generatedAlwaysAsIdentity({ name: "build_id_seq", startWith: 1, increment: 1, minValue: 1, maxValue: 2147483647, cache: 1 }),
|
||||
uuid: uuid().defaultRandom().unique(),
|
||||
account_id: integer().notNull(),
|
||||
name: varchar({length:255}).notNull(),
|
||||
description: text(),
|
||||
...timestamps
|
||||
})
|
||||
Reference in New Issue
Block a user