Skip to content

Commit

Permalink
Formatting...
Browse files Browse the repository at this point in the history
  • Loading branch information
flenter committed Jun 6, 2024
1 parent 2297f93 commit 130d70c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions api/scripts/seed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ const db = drizzle(createClient({ url: databaseUrl }));
const issues = JSON.parse(issuesFile);
const logs = JSON.parse(logsFile);

let {rowsAffected} = await db.insert(githubIssues).values(issues);
console.log('Inserted', rowsAffected, 'github issues');
({ rowsAffected} = await db.insert(mizuLogs).values(logs));
console.log('Inserted', rowsAffected, 'logs');
let { rowsAffected } = await db.insert(githubIssues).values(issues);
console.log("Inserted", rowsAffected, "github issues");
({ rowsAffected } = await db.insert(mizuLogs).values(logs));
console.log("Inserted", rowsAffected, "logs");
})();

0 comments on commit 130d70c

Please sign in to comment.