Skip to content

Commit b26ca1d

Browse files
authored
updated SQLite to PostgreSQL migration doc's link (#1517)
1 parent 9113f95 commit b26ca1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

waspc/src/Wasp/Generator/DbGenerator.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ genPrismaSchema spec = do
6060
AS.Db.PostgreSQL -> return ("postgresql", makeEnvVarField databaseUrlEnvVarName)
6161
AS.Db.SQLite ->
6262
if AS.isBuild spec
63-
then logAndThrowGeneratorError $ GenericGeneratorError "SQLite (a default database) is not supported in production. To build your Wasp app for production, switch to a different database. Switching to PostgreSQL: https://wasp-lang.dev/docs/language/features#migrating-from-sqlite-to-postgresql ."
63+
then logAndThrowGeneratorError $ GenericGeneratorError "SQLite (a default database) is not supported in production. To build your Wasp app for production, switch to a different database. Switching to PostgreSQL: https://wasp-lang.dev/docs/data-model/backends#migrating-from-sqlite-to-postgresql ."
6464
else return ("sqlite", "\"file:./dev.db\"")
6565

6666
let templateData =

0 commit comments

Comments
 (0)