GenieFramework / GenieAuthentication.jl

Authentication plugin for Genie framework
MIT License
20 stars 11 forks source link

[error | LibPQ]: UndefinedTable: ERROR: relation "schema_migrations" does not exist #20

Closed deahhh closed 1 year ago

deahhh commented 1 year ago

After creating a app with code Genie.Generator.newapp_mvc, I execute some code guided by mainpage.

Then, I met the error relation "schema_migrations" does not exist after executing SearchLight.Migration.up("CreateTableUsers").

My database is postgreSQL,empty, connected correctly.

Help, please!

essenciary commented 1 year ago

You need to run SearchLight.Migrations.init() first, to set up the migrations table.

deahhh commented 1 year ago

Thanks! I should read more carefully.