5 lines
201 B
Markdown
5 lines
201 B
Markdown
|
## How to do a migration
|
||
|
- Create `.env` to the root folder
|
||
|
- Add the database url to the `.env` file:
|
||
|
`DATABASE_URL=postgres://db_user:password@server_url:PORT/db_name`
|
||
|
- Run `npm run migrate up`
|