Open dvetsch75 opened 3 years ago
Hallo dvetsch75 For using Searchlight it is necessary to use an adapter e,g. SearchlighSQLight, The preparation and usage of this is described here in the section Accessing databases with SeachLight models. If you have further questions don’t hesitate to ask any time. Best Frank
Sorry, that tutorial is a bit out of date, please try this: https://genieframework.github.io/Genie.jl/dev/guides/Working_With_Genie_Apps.html
I am going through the tutorial in the docs (which is great btw) and can't seem to figure out this part .
After running
SearchLight.Generator.newmigration
I get the migrations file just fine - it looks like so:However, when I run either
SearchLight.Migration.last_up()
orSearchLight.Migration.status()
, I get the following:But if I run
methods(SearchLight.query)
it returns no methods...I'm pretty far out of my depth here so I'm not sure what I am getting wrong.
Windows 10 Julia 1.5.3 Genie 1.9.1