···20202121 title: text("title").notNull(), // title of the page
2222 description: text("description").notNull(), // description of the page
2323- icon: text("icon", { length: 256 }), // icon of the page
2323+ icon: text("icon", { length: 256 }).default(""), // icon of the page
2424 slug: text("slug", { length: 256 }).notNull().unique(), // which is used for https://slug.openstatus.dev
2525 customDomain: text("custom_domain", { length: 256 }).notNull(),
2626 published: integer("published", { mode: "boolean" }).default(false),
···5353// Schema for inserting a Page - can be used to validate API requests
5454export const insertPageSchema = createInsertSchema(page, {
5555 customDomain: z.string().optional(),
5656+ icon: z.string().optional(),
5657 slug: slugSchema,
5758});
5859