broke: a private money app that runs on your own accounts and your own AI

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
minimus7andClaude Opus 5.5 committed 2026-11-04 10:53:45 -06:00
commit f550865e93
359 files changed
+34290

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
// Applies pending database migrations. Usage: npm run migrate (reads SUPABASE_DB_URL from .env).
import { migrate } from "../src/lib/migrate.ts";
const r = await migrate();
if (!r.configured) {
console.log("SUPABASE_DB_URL is not set in .env. Open http://localhost:3000/setup for where to find it.");
process.exit(1);
}
if (r.error) {
console.error(r.error);
process.exit(1);
}
console.log(r.applied.length ? `Applied: ${r.applied.join(", ")}` : `Database is up to date (${r.total} migrations).`);