Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • database/drizzle/schema/builds.ts

    re03e6fb rb0685a8  
    1717
    1818export const buildComponentsTable = pgTable("build_component", {
     19        id: serial("id").primaryKey(),
    1920        buildId: integer("build_id")
    2021            .notNull()
     
    2324            .notNull()
    2425            .references(() => componentsTable.id, { onDelete: "cascade", onUpdate: "cascade" }),
    25         numComponents: integer("num_components")
    26             .notNull()
    27             .default(1),
    2826    },
    29     (t) => ({
    30         pk: primaryKey({ columns: [t.buildId, t.componentId] }),
    31     }),
    3227);
    3328
Note: See TracChangeset for help on using the changeset viewer.