Genie Discord forum
![Author Avatar](https://cdn.discordapp.com/avatars/839529644863520768/148ac081970ddcbfa3df9f6e5a1beb01.png?size=512)
@kwdef mutable struct Vehicle <: AbstractModel
id::Int32
plate::String
...
manager_id::Int32
end
for v in eachrow(df)
Vehicle(v.id, ..., v.manager_id) |> save!
end
throws ERROR: MethodError: no method matching to_store_sql(::Vehicle; conflict_strategy::Symbol)
![Author Avatar](https://cdn.discordapp.com/avatars/839529644863520768/148ac081970ddcbfa3df9f6e5a1beb01.png?size=512)
Oh I wasn't connected to db, nevermind