"feat: add EventItem, EventReview models with seed data and mock files, update User and Event schemas"

This commit is contained in:
louiscklaw
2025-06-03 15:29:05 +08:00
parent a0a4ffcb4e
commit 24920fb313
52 changed files with 2140 additions and 56 deletions

View File

@@ -8,8 +8,9 @@ async function superuser() {
create: {
email: 'admin1@123.com',
name: 'Admin1',
password: 'Aa12345678'
}
password: 'Aa12345678',
admin: true,
},
});
// swagger test
@@ -19,8 +20,9 @@ async function superuser() {
create: {
email: 'fake@example.com',
name: 'swagger user',
password: 'password1'
}
password: 'password1',
admin: true,
},
});
console.log('seed superuser done');