5 lines
202 B
Markdown
5 lines
202 B
Markdown
## How to do a migration
|
|
- Create `.env` to the root folder
|
|
- Add the database url to the `.env` file:
|
|
`DATABASE_URL=postgres://username:password@host:port/database`
|
|
- Run `npx knex migrate:latest` |