mirror of
https://github.com/khairul169/github-leaderboard.git
synced 2025-04-28 15:39:31 +07:00
fix: client build fix
This commit is contained in:
parent
599853698f
commit
161a49c705
@ -8,7 +8,7 @@ const seed = async () => {
|
|||||||
logger.info("🌿 Seeding database...");
|
logger.info("🌿 Seeding database...");
|
||||||
|
|
||||||
await db.transaction(async (tx) => {
|
await db.transaction(async (tx) => {
|
||||||
tx.run(sql`DELETE FROM users`);
|
await tx.execute(sql`TRUNCATE users`);
|
||||||
|
|
||||||
// await tx
|
// await tx
|
||||||
// .insert(users)
|
// .insert(users)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user