users page and a function to populate table headers

This commit is contained in:
2025-01-16 16:06:34 -05:00
parent 4ca7c393ef
commit 9580f78ef5
9 changed files with 319 additions and 14 deletions

View File

@@ -1,8 +1,6 @@
import { pgTable, integer, varchar, text, numeric, timestamp, unique, check, bigserial, date, boolean, uuid, bigint, real, doublePrecision, primaryKey } from "drizzle-orm/pg-core"
import { sql } from "drizzle-orm"
export const products = pgTable("products", {
id: integer().primaryKey().generatedAlwaysAsIdentity({ name: "products_id_seq", startWith: 1, increment: 1, minValue: 1, maxValue: 2147483647, cache: 1 }),
name: varchar({ length: 255 }).notNull(),