Skip to content

Commit

Permalink
Update table not found error fix in the readme (#1487)
Browse files Browse the repository at this point in the history
  • Loading branch information
frederike-ramin authored Sep 19, 2024
1 parent 624800d commit 7ea5d02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ By default SQLite DB is used. For other available environments refer to: `src/se
### SQLite table not found
This may occur if the SQlite tables created is in the wrong format or required tables are not created

Add `await sequelize.sync({force:true}` to the `server/database/index` file after `await sequelize.authenticate()`. This will force all the tables in to be dropped and created again with the correct tables.
Add `await sequelize.sync({ force:true })` to the `src/server/bootstrap/index` file after `await sequelize.authenticate()`. This will force all the tables in to be dropped and created again with the correct tables.

A potential long term fix for issues related to SQLite is to replace SQLite with a docker-compose environment for usage during development.

Expand Down

0 comments on commit 7ea5d02

Please sign in to comment.