mirror of
https://github.com/catdevnull/preciazo.git
synced 2024-11-23 06:36:19 +00:00
10 lines
375 B
TypeScript
10 lines
375 B
TypeScript
|
import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
||
|
|
||
|
export const precios = sqliteTable("precios", {
|
||
|
id: integer("id", { mode: "number" }).primaryKey({ autoIncrement: true }),
|
||
|
fetchedAt: integer("fetched_at", { mode: "timestamp" }).notNull(),
|
||
|
precioCentavos: integer("precio_centavos").notNull(),
|
||
|
ean: text("ean").notNull(),
|
||
|
url: text("url"),
|
||
|
});
|