Skip to content

Commit

Permalink
Merge pull request #810 from object1037/config-preview-db
Browse files Browse the repository at this point in the history
  • Loading branch information
object1037 authored Apr 11, 2024
2 parents ae79aa0 + 0e4c3d0 commit af4e9d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"fmt": "biome format --write ./app",
"generate": "drizzle-kit generate:sqlite --schema=./app/.server/schema.ts --out=./migrations",
"migrate": "pnpm wrangler d1 migrations apply blog-db",
"migrate:preview": "pnpm wrangler d1 migrations apply blog-db-preview"
"migrate:preview": "pnpm wrangler d1 migrations apply blog-db --preview --remote"
},
"dependencies": {
"@codemirror/commands": "^6.3.3",
Expand Down
1 change: 1 addition & 0 deletions wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ preview_id = "4fee0af77fa3425dac9bd8dc5bfbaf4b"
binding = "DB"
database_name = "blog-db"
database_id = "77f4589e-54f5-43ad-ab44-ccc96e048bfc"
preview_database_id = "fe62b702-8f6b-4b85-81c0-e315529e6ca7"

[[r2_buckets]]
binding = 'BUCKET'
Expand Down

0 comments on commit af4e9d4

Please sign in to comment.