Closed sparkmobi closed 4 years ago
Please don’t spam the thread with an immense amount of logs. It’s annoying to scroll through.
You didn’t notice this?
SequelizeDatabaseError: relation "companies" does not exist
Please don’t spam the thread with an immense amount of logs. It’s annoying to scroll through.
You didn’t notice this?
SequelizeDatabaseError: relation "companies" does not exist
Sorry for that, i have checked heroku-postgres and found that it is empty, while i have followed your steps to install it on heroku, is there a command should i run so it can create data in postgres , i am trying to install the server for about 3 days now with no success
@sparkmobi Could you please use script for DB creation?
Auto creation turns off for production use.
Hello @Sigura , I just installed current master version (ebdfd89b6e3be4fe947fa68afcf8b4da27317cc4), use default SQLite database and get the same error:
2020-04-27T18:47:44.490104864Z { Error: SQLITE_ERROR: no such table: companies
2020-04-27T18:47:44.490116264Z errno: 1,
2020-04-27T18:47:44.490120464Z code: 'SQLITE_ERROR',
2020-04-27T18:47:44.490123864Z sql:
2020-04-27T18:47:44.490127164Z 'SELECT `id`, `company_token`, `created_at`, `updated_at` FROM `companies` AS `companies` WHERE `companies`.`company_token` = \'smg\' LIMIT 1;' },
How should I initialize the DB when running on SQLite? I guess it should be initialized automatically during the initial app startup - is this a bug or is there just any docs missing?
Hello,
i am getting this error in the server log(heroku)