mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
feat(licenses): add migration and truncation scripts for database management
- Introduced migration script to handle database schema updates using Drizzle ORM. - Added truncation script to clear the database schema and reset the state. - Updated package.json scripts for easier execution of migration and truncation tasks. - Refactored email and Stripe integration for better modularity and maintainability.
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
"typecheck": "tsc --noEmit",
|
||||
"generate": "drizzle-kit generate",
|
||||
"drop": "drizzle-kit drop",
|
||||
"migrate": "tsx src/migrate.ts",
|
||||
"truncate": "tsx src/truncate.ts",
|
||||
"reset:all": "tsx src/truncate.ts && tsx src/migrate.ts",
|
||||
"migrate": "tsx migrate.ts",
|
||||
"truncate": "tsx truncate.ts",
|
||||
"reset:all": "tsx truncate.ts && tsx migrate.ts",
|
||||
"studio": "drizzle-kit studio"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user