export const servicesTable = pgTable("services_table", {
id: serial("id").primaryKey(),
name: text("name").notNull(),
slug: text("slug").notNull(),
html: text("html").notNull(),
card_title: text("card_title"),
card_description: text("card_description"),
editor_state: text("editor_state").notNull(),
createdAt: timestamp("created_at").notNull().defaultNow(),
updatedAt: timestamp("updated_at")
.notNull()
.$onUpdate(() => new Date()),
});
export const servicesTable = pgTable("services_table", {
id: serial("id").primaryKey(),
name: text("name").notNull(),
slug: text("slug").notNull(),
html: text("html").notNull(),
card_title: text("card_title"),
card_description: text("card_description"),
editor_state: text("editor_state").notNull(),
createdAt: timestamp("created_at").notNull().defaultNow(),
updatedAt: timestamp("updated_at")
.notNull()
.$onUpdate(() => new Date()),
});