implemented User Schema & created seed Function for DB

This commit is contained in:
2025-05-15 22:59:16 +02:00
parent ebaf2b13ac
commit e827876ce2
5 changed files with 149 additions and 3 deletions

9
pnpm-lock.yaml generated
View File

@@ -30,6 +30,9 @@ importers:
'@antfu/eslint-config':
specifier: ^4.13.0
version: 4.13.0(@typescript-eslint/utils@8.32.1(eslint@9.26.0)(typescript@5.8.3))(@vue/compiler-sfc@3.5.13)(eslint-plugin-format@1.0.1(eslint@9.26.0))(eslint@9.26.0)(typescript@5.8.3)
'@faker-js/faker':
specifier: ^9.8.0
version: 9.8.0
'@types/express':
specifier: ^5.0.1
version: 5.0.1
@@ -506,6 +509,10 @@ packages:
resolution: {integrity: sha512-ZAoA40rNMPwSm+AeHpCq8STiNAwzWLJuP8Xv4CHIc9wv/PSuExjMrmjfYNj682vW0OOiZ1HKxzvjQr9XZIisQA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@faker-js/faker@9.8.0':
resolution: {integrity: sha512-U9wpuSrJC93jZBxx/Qq2wPjCuYISBueyVUGK7qqdmj7r/nxaxwW8AQDCLeRO7wZnjj94sh3p246cAYjUKuqgfg==}
engines: {node: '>=18.0.0', npm: '>=9.0.0'}
'@humanfs/core@0.19.1':
resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==}
engines: {node: '>=18.18.0'}
@@ -2696,6 +2703,8 @@ snapshots:
'@eslint/core': 0.13.0
levn: 0.4.1
'@faker-js/faker@9.8.0': {}
'@humanfs/core@0.19.1': {}
'@humanfs/node@0.16.6':