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
@konstantinmamontov you need to add the SearchLight adapter (that is the "driver" that works with the specific database you're using): one of SearchLightSQLite, SearchLightPostgres, SearchLightMySQL, SearchLightOracle.
julia> using GenieAuthorisation
julia> GenieAuthentication.install(@DIR) # underscores around DIR
all needed dirs and files created
julia> using SearchLight
julia> SearchLight.Migration.up("CreateTableUsers")
ERROR: MethodError: no method matching query(::String)
The function
query
exists, but no method is defined for this combination of argument types.Stacktrace:
[1] upped_migrations()
@ SearchLight.Migration C:\Users\KM.julia\packages\SearchLight\1tmyw\src\Migration.jl:364
[2] run_migration(migration::SearchLight.Migration.DatabaseMigration, direction::Symbol; force::Bool, context::Module)
@ SearchLight.Migration C:\Users\KM.julia\packages\SearchLight\1tmyw\src\Migration.jl:282
[3] run_migration
@ C:\Users\KM.julia\packages\SearchLight\1tmyw\src\Migration.jl:278 [inlined]
[4] #up#13
@ C:\Users\KM.julia\packages\SearchLight\1tmyw\src\Migration.jl:187 [inlined]
[5] last_up(migration_module_name::String)
@ SearchLight.Migration C:\Users\KM.julia\packages\SearchLight\1tmyw\src\Migration.jl:185
[6] top-level scope
@ REPL[7]:1
##############
julia> versioninfo()
Julia Version 1.11.1
Commit 8f5b7ca12a (2024-10-16 10:53 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 16 × 11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, tigerlake)
Threads: 1 default, 0 interactive, 1 GC (on 16 virtual cores)
pkg> st
Status
C:\Genie\Project.toml
[c43c736e] Genie v5.31.1
[e115e502] GenieAuthentication v2.2.0
[af3f74f6] GenieAuthorisation v2.0.1
[a59fdf5c] GenieFramework v2.7.0
[a03496cd] PlotlyBase v0.8.19
⌃ [2913bbd2] StatsBase v0.34.3
The text was updated successfully, but these errors were encountered: