diff --git a/install/twenty-install.sh b/install/twenty-install.sh index 8a04f5e9..070054f0 100644 --- a/install/twenty-install.sh +++ b/install/twenty-install.sh @@ -62,7 +62,7 @@ $STD su - postgres -c "psql -d ${PG_DB_NAME} -c ' CREATE EXTENSION IF NOT EXISTS unaccent; CREATE OR REPLACE FUNCTION public.unaccent_immutable(input text) RETURNS text LANGUAGE sql IMMUTABLE - AS \$\$SELECT public.unaccent($$public.unaccent$$::regdictionary, input)\$\$; + AS \$\$SELECT public.unaccent(\$\$public.unaccent\$\$::regdictionary, input)\$\$; '" $STD npx -y typeorm migration:run -d dist/database/typeorm/core/core.datasource msg_ok "Ran Database Migrations"