Ash FrameworkAF
Ash Framework2mo ago
12 replies
rtorresware

Error when setting up an sqlite repo

16:20:02.947 [info] == Running 20251101005337 Compliance.Repo.Migrations.InitializeExtensions1.up/0 forward

16:20:02.951 [info] execute "CREATE OR REPLACE FUNCTION ash_elixir_or(left BOOLEAN, in right ANYCOMPATIBLE, out f1 ANYCOMPATIBLE)\nAS $$ SELECT COALESCE(NULLIF($1, FALSE), $2) $$\nLANGUAGE SQL\nSET search_path = ''\nIMMUTABLE;\n"
** (Exqlite.Error) near "OR": syntax error
CREATE OR REPLACE FUNCTION ash_elixir_or(left BOOLEAN, in right ANYCOMPATIBLE, out f1 ANYCOMPATIBLE)
AS $$ SELECT COALESCE(NULLIF($1, FALSE), $2) $$
LANGUAGE SQL
SET search_path = ''
IMMUTABLE;


I picked the Ash tag because there is no tag for AshSqlite.
Was this page helpful?