init: me-api 个人简历后台

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Superuser
2026-05-18 20:10:56 +08:00
commit 40d3a66055
27 changed files with 730 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import { getDb } from "../api/queries/connection";
// TODO: import tables from "./schema"
async function seed() {
const db = getDb();
console.log("Seeding database...");
// TODO: insert seed data, e.g.
// await db.insert(schema.posts).values([
// { title: "First post", content: "Hello world" },
// ]);
console.log("Done.");
process.exit(0); // close MySQL connection pool
}
seed();