more fixes and organizing

This commit is contained in:
2024-11-25 17:09:47 -05:00
parent 0dfd533b71
commit 725b62c31a
6 changed files with 33 additions and 6 deletions

View File

@@ -1,9 +0,0 @@
import { pgTable, integer, varchar } from "drizzle-orm/pg-core";
import { sql } from "drizzle-orm";
import { timestamps } from "./helpers/columns.helpers";
export const accounts = pgTable("base_table", {
id: integer().primaryKey().generatedAlwaysAsIdentity({ name: "base_id_seq", startWith: 1, increment: 1, minValue: 1, maxValue: 2147483647, cache: 1 }),
...timestamps
})