feat(infisical-pg): added a seed setup with test user creation and org creation

This commit is contained in:
Akhil Mohan
2024-01-27 12:38:22 +05:30
parent a19e8ad016
commit d0695a8998
5 changed files with 123 additions and 9 deletions
+3 -1
View File
@@ -17,7 +17,9 @@
"migration:down": "knex --knexfile ./src/db/knexfile.ts --client pg migrate:down",
"migration:list": "knex --knexfile ./src/db/knexfile.ts --client pg migrate:list",
"migration:latest": "knex --knexfile ./src/db/knexfile.ts --client pg migrate:latest",
"migration:rollback": "knex --knexfile ./src/db/knexfile.ts migrate:rollback"
"migration:rollback": "knex --knexfile ./src/db/knexfile.ts migrate:rollback",
"seed:new": "tsx ./scripts/create-seed-file.ts",
"seed:run": "knex --knexfile ./src/db/knexfile.ts --client pg seed:run"
},
"keywords": [],
"author": "",