Using AshSqlite as "embedded" database

Question 1

I believe you can put this kind of information in the init/2 callback of the repo module in question:

Question 2

This is a good question, and I’m not actually sure that you can? As you said, :code.priv_dir(:facts) doesn’t work in that context. Do you have that same experience if its in runtime.exs?