You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in lib/db/src/db/query_methods.cr:215: can't infer block return type, try to cast the block body with `as`. See: https://github.com/crystal-lang/crystal/wiki/Compiler-error-messages#cant-infer-block-return-type
query_all(query, *args) do |rs|
^~~~~~~~~
After a couple of tries I finally made it ran, first check that you have set the environment variable DB_URL as specified in Readme and second, if you have created an executable file to run micrate, remember to require your database adapter, in my case was postgres.
crystal version:
The text was updated successfully, but these errors were encountered: