You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is configured to write to the same database and run with the `--write-to-database`option.
45
47
46
48
# Using the API
47
49
@@ -106,14 +108,21 @@ If you need to migrate the database, you can create a new migration via `knex`,
106
108
See [knex documentation](https://knexjs.org/#Installation-migrations) for more details.
107
109
108
110
# Running database migrations
111
+
109
112
## Locally
113
+
110
114
`npm run migrate`
115
+
111
116
## In production
117
+
112
118
In production, you can run database migrations via `cf run-task`. As with anything in production, be careful when doing this! First, try checking the current status of migrations using the `migrate:status` command
0 commit comments