mirror of
https://github.com/IT4Change/gradido.git
synced 2026-03-01 12:44:43 +00:00
move main seed into database
This commit is contained in:
parent
933171d208
commit
2b9068560d
@ -1,10 +1,6 @@
|
||||
{
|
||||
"extends": ["//"],
|
||||
"tasks": {
|
||||
"seed": {
|
||||
"dependsOn": ["database#up", "^build"],
|
||||
"cache": false
|
||||
},
|
||||
"tasks": {
|
||||
"locales": {},
|
||||
"locales:fix": {},
|
||||
"lint": {
|
||||
|
||||
@ -25,6 +25,7 @@
|
||||
"up": "cross-env TZ=UTC tsx migration/index.ts up",
|
||||
"down": "cross-env TZ=UTC tsx migration/index.ts down",
|
||||
"reset": "cross-env TZ=UTC tsx migration/index.ts reset",
|
||||
"seed": "cross-env TZ=UTC NODE_ENV=development bun src/seeds/index.ts",
|
||||
"up:test": "cross-env TZ=UTC DB_DATABASE=gradido_test tsx migration/index.ts up",
|
||||
"up:backend_test": "cross-env TZ=UTC DB_DATABASE=gradido_test_backend tsx migration/index.ts up",
|
||||
"up:federation_test": "cross-env TZ=UTC DB_DATABASE=gradido_test_federation tsx migration/index.ts up",
|
||||
|
||||
@ -1,6 +1,10 @@
|
||||
{
|
||||
"extends": ["//"],
|
||||
"tasks": {
|
||||
"seed": {
|
||||
"dependsOn": ["database#up", "^build"],
|
||||
"cache": false
|
||||
},
|
||||
"clear": {
|
||||
"cache": false
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user