fixed products/lower page

This commit is contained in:
2024-12-11 14:07:54 -05:00
parent 80c23f1518
commit 925cf2ca75
4 changed files with 66 additions and 17 deletions

View File

@@ -1,8 +1,10 @@
import { pgTable, text, decimal, serial, integer } from 'drizzle-orm/pg-core';
// Dont think this is need with the Drizzle schema
export const psa = pgTable('psa', {
id: integer().primaryKey().generatedAlwaysAsIdentity({ name: "brands_id_seq", startWith: 1, increment: 1, minValue: 1, maxValue: 2147483647, cache: 1 }),
category: text('category').notNull(),
department: text('department').notNull(),
saleprice: decimal('saleprice', { precision: 10, scale: 2 }).notNull(),
});
// import { pgTable, text, decimal, serial, integer } from 'drizzle-orm/pg-core';
// export const psa = pgTable('psa', {
// id: integer().primaryKey().generatedAlwaysAsIdentity({ name: "brands_id_seq", startWith: 1, increment: 1, minValue: 1, maxValue: 2147483647, cache: 1 }),
// category: text('category').notNull(),
// department: text('department').notNull(),
// saleprice: decimal('saleprice', { precision: 10, scale: 2 }).notNull(),
// });