deno task db:migrate:latest IS_TEST=true deno task db:migrate:latest
deno task db:migrate:local latest
{ "tasks": { "db:migrate:up": "deno task run:trusted db/migrate.ts --up", "db:migrate:latest": "deno task run:trusted db/migrate.ts --latest", "db:migrate:down": "deno task run:trusted db/migrate.ts --down", "db:migrate:to": "deno task run:trusted db/migrate.ts --to", "db:migrate:wipe": "deno task run:trusted db/migrate.ts --wipe", "db:migrate:redo": "deno task run:trusted db/migrate.ts --down && deno task run:trusted db/migrate.ts --up", "db:migrate:redo:all": "deno task run:trusted db/migrate.ts --wipe && deno task run:trusted db/migrate.ts --latest", "db:migrate:local": "diff .env .env.local >/dev/null && deno task db:migrate:$1 && IS_TEST=true deno task db:migrate:$1" } }
$ deno task db:migrate:local latest Task db:migrate:local diff .env .env.local >/dev/null && deno task db:migrate:$1 && IS_TEST=true deno task db:migrate:$1 "latest"
Join the Discord to ask follow-up questions and connect with the community
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934 Members