mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-08-16 18:50:44 +03:00
Update web/docs/data-model/backends.md
Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com>
This commit is contained in:
parent
144523eaae
commit
681692cc77
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user