deadlinecode / baileys-bottle

56 stars 40 forks source link

[ ISSUE ] Table 'db.auth' doesn't exist #7

Closed izzatsenan98 closed 1 year ago

izzatsenan98 commented 1 year ago

Describe the bug auth table is created (empty), but console showed table does not exist.

Expected behavior All tables is created without error like in example.

Screenshots image

Version:

Additional context Also at the below got another error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'NULL, tcTokenSenderTimestamp image

izzatsenan98 commented 1 year ago

config is as below image

h110m commented 1 year ago

Problem is some syncing issues TypeORM only creates all tables when the auth table isn't found

Need to fix it so everything get's created and without using the sync flag since it shouldn't be used in prod

deadlinecode commented 1 year ago

All MySQL issues will be tracked in the issue #9