add billing address seed data and update user seed scripts with teacher and student roles
```
This commit is contained in:
louiscklaw
2025-05-13 12:35:05 +08:00
parent 9be33f641f
commit 3e1f2e1057
6 changed files with 96 additions and 23 deletions

View File

@@ -10,6 +10,10 @@ module.exports = {
}
},
getId: (id) => id.padStart(15, 0),
randomId: (max) =>
Math.floor(Math.random() * max)
.toString()
.padStart(15, 0),
dirtyTruncateTable: (COLLECTION_NAME) => {
console.log(`perform dirty method to truncate table "${COLLECTION_NAME}"`);