Closed deahhh closed 1 year ago
After creating a app with code Genie.Generator.newapp_mvc, I execute some code guided by mainpage.
Genie.Generator.newapp_mvc
Then, I met the error relation "schema_migrations" does not exist after executing SearchLight.Migration.up("CreateTableUsers").
relation "schema_migrations" does not exist
SearchLight.Migration.up("CreateTableUsers")
My database is postgreSQL,empty, connected correctly.
Help, please!
You need to run SearchLight.Migrations.init() first, to set up the migrations table.
SearchLight.Migrations.init()
Thanks! I should read more carefully.
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 executingSearchLight.Migration.up("CreateTableUsers")
.My database is postgreSQL,empty, connected correctly.
Help, please!