uat-seed-script

This commit is contained in:
phaichayon
2026-06-30 10:48:15 +07:00
parent e4573ac0c9
commit e12ae120b0
31 changed files with 1791 additions and 314 deletions

View File

@@ -4,15 +4,21 @@
```bash
npm install
ALLOW_DB_RESET=true npm run db:fresh
npm exec tsc --noEmit
npm run db:fresh
npm run typecheck
npm run dev
```
## Fresh UAT or demo data
```bash
ALLOW_DB_RESET=true npm run db:fresh:uat
npm run db:fresh:uat
```
## Reset and reseed existing local/UAT data
```bash
npm run seed:reset -- --allow-db-reset
```
## Existing database upgrade
@@ -44,7 +50,7 @@ npm run seed:pdf-template
## Verification
```bash
npm exec tsc --noEmit
npm run typecheck
npm run build
npm run verify:encoding
npm run verify:crm-access