mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-06 18:56:39 +00:00
♻️ make source not null
This commit is contained in:
@@ -675,7 +675,7 @@ export const setupTokens = pgTable("setupTokens", {
|
|||||||
export const blueprints = pgTable("blueprints", {
|
export const blueprints = pgTable("blueprints", {
|
||||||
blueprintId: serial("blueprintId").primaryKey(),
|
blueprintId: serial("blueprintId").primaryKey(),
|
||||||
name: varchar("name").notNull(),
|
name: varchar("name").notNull(),
|
||||||
source: varchar("source"),
|
source: varchar("source").notNull(),
|
||||||
createdAt: integer("createdAt").notNull(),
|
createdAt: integer("createdAt").notNull(),
|
||||||
succeeded: boolean("succeeded").notNull(),
|
succeeded: boolean("succeeded").notNull(),
|
||||||
contents: text("contents").notNull(),
|
contents: text("contents").notNull(),
|
||||||
|
|||||||
@@ -727,7 +727,7 @@ export const blueprints = sqliteTable("blueprints", {
|
|||||||
})
|
})
|
||||||
.notNull(),
|
.notNull(),
|
||||||
name: text("name").notNull(),
|
name: text("name").notNull(),
|
||||||
source: text("source"),
|
source: text("source").notNull(),
|
||||||
createdAt: integer("createdAt").notNull(),
|
createdAt: integer("createdAt").notNull(),
|
||||||
succeeded: integer("succeeded", { mode: "boolean" }).notNull(),
|
succeeded: integer("succeeded", { mode: "boolean" }).notNull(),
|
||||||
contents: text("contents").notNull(),
|
contents: text("contents").notNull(),
|
||||||
|
|||||||
Reference in New Issue
Block a user