authsio / core

And idea that never worked but was fun while it lasted
https://authsio.com
GNU Affero General Public License v3.0
12 stars 6 forks source link

Tables are not being created #11

Closed davemagro closed 2 years ago

davemagro commented 2 years ago

While setting up the backend component on my machine, I noticed that sql tables are not being created on my postgresql database, I have confirmed that my database credentials are correct.

I have DATABASE_FORCE_SYNC=yes enabled. Am I missing something?

hkd987 commented 2 years ago

Since we are not database schema set, I’ve yet to add the sequalize.initialized method right after the checking of the db auth.

I’ve done this for a few reasons but mainly bc I don’t want to starting writing migrations yet. After DB version 1 is set then we will start creating tables.