Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(readme): update 'table not found error fix' #1487

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading