Update web/docs/data-model/backends.md

Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com>
This commit is contained in:
vincanger 2023-10-16 10:51:55 +02:00 committed by GitHub
parent 144523eaae
commit 681692cc77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,8 +48,8 @@ app MyApp {
2. Delete all the old migrations, since they are SQLite migrations and can't be used with PostgreSQL, as well as the SQLite database by running [`wasp clean`](https://wasp-lang.dev/docs/general/cli#project-commands):
```bash
rm -r migrations/ && wasp clean
```
rm -r migrations/
wasp clean
3. Ensure your new database is running (check the [section on connecing to a database](#connecting-to-a-database) to see how). Leave it running, since we need it for the next step.
4. In a different terminal, run `wasp db migrate-dev` to apply the changes and create a new initial migration.