We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14bcec7 commit d9ca730Copy full SHA for d9ca730
web/docs/data-model/backends.md
@@ -32,7 +32,19 @@ We cover all supported ways of connecting to a database in [the next section](#c
32
33
To run your Wasp app in production, you'll need to switch from SQLite to PostgreSQL.
34
35
-1. Set the `app.db.system` fild to PostgreSQL.
+1. Set the `app.db.system` field to PostgreSQL.
36
+
37
+```wasp title=main.wasp
38
+app MyApp {
39
+ title: "My app",
40
+ // ...
41
+ db: {
42
+ system: PostgreSQL,
43
44
+ }
45
+}
46
+```
47
48
2. Delete all the old migrations, since they are SQLite migrations and can't be used with PostgreSQL:
49
50
```bash
0 commit comments