Files
sui-data-sync/development/database/project.json
Zitao Xiong a07d262277 add dev
2024-05-23 18:10:25 +08:00

29 lines
665 B
JSON

{
"name": "dev-database",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/dev/database",
"projectType": "application",
"implicitDependencies": ["dev-network"],
"targets": {
"setup": {
"command": "hasura metadata apply && hasura migrate apply --all-databases && hasura metadata reload"
},
"up": {
"command": "dev-database up"
},
"sync": {
"command": "dev-database sync"
},
"logs": {
"command": "dev-database logs"
},
"recreate": {
"command": "dev-database reset"
},
"down": {
"command": "dev-database clean"
}
},
"tags": []
}