Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: improve dx for migrating models manually (#1483)

Max Deichmann41a7ee2f06b6
diff --git a/package.json b/package.json
index 0c35385e82..4b47056a1b 100644
--- a/package.json
+++ b/package.json
@@ -17,7 +17,8 @@
"start": "turbo run start",
"dev": "turbo run dev",
"lint": "turbo run lint",
- "test": "turbo run test"
+ "test": "turbo run test",
+ "models:migrate": "turbo run models:migrate"
},
"devDependencies": {
"dotenv-cli": "^7.3.0",
diff --git a/turbo.json b/turbo.json
index 5ba892643b..45c45d3b33 100644
--- a/turbo.json
+++ b/turbo.json
@@ -14,6 +14,9 @@
"db:reset": {},
"db:push": {},
"db:seed": {},
+ "models:migrate": {
+ "dependsOn": ["db:generate"]
+ },
"db:seed:examples": {},
"dev": {
"cache": false,