feat(platform): checkpoint current implementation state
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
import { BlueprintTarget, FieldType } from "@capakraken/shared";
|
||||
import { PrismaClient } from "@prisma/client";
|
||||
import { loadWorkspaceEnv } from "./load-workspace-env.js";
|
||||
import { assertCapaKrakenDbTarget } from "./safe-destructive-env.js";
|
||||
|
||||
loadWorkspaceEnv();
|
||||
|
||||
const prisma = new PrismaClient();
|
||||
|
||||
@@ -1174,6 +1178,7 @@ const rolePresetsMotion = [
|
||||
// ─── Main ───────────────────────────────────────────────────────────────────
|
||||
|
||||
async function main() {
|
||||
assertCapaKrakenDbTarget("db:update:blueprints");
|
||||
console.log("Starting blueprint update...\n");
|
||||
|
||||
// Blueprints to update in-place (by name — preserves PKs and FKs)
|
||||
|
||||
Reference in New Issue
Block a user