Skip to content

Commit

Permalink
Add increment to clear_database.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic-R committed Jul 25, 2024
1 parent 8989c1b commit fd97398
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions commands/clear_database.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ module.exports = {
}
});
prisma.build.deleteMany().then(() => {
prisma.$executeRaw`ALTER SEQUENCE "Build_id_seq" RESTART WITH 1;`;
prisma.user.updateMany({
data: {
points: 0,
Expand Down

0 comments on commit fd97398

Please sign in to comment.