feat: Add production schema deployment scripts
- Create apply-schema-prod.js for deploying schema to any SurrealDB instance - Create deploy-schema.sh to easily deploy using .prod.env - Add npm scripts: schema:apply (local) and schema:deploy (production) Usage: pnpm schema:deploy # Deploy to production using .prod.env 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,9 @@
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"lint": "next lint",
|
||||
"test": "npx magnitude"
|
||||
"test": "npx magnitude",
|
||||
"schema:apply": "node scripts/apply-schema.js",
|
||||
"schema:deploy": "./scripts/deploy-schema.sh"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ai-sdk/google": "latest",
|
||||
|
||||
Reference in New Issue
Block a user