Currently, DDL statements depending on their factory component can be generated in one line or multiple lines, for example:
CREATE OR REPLACE FUNCTION set_current_tenant_id(VARCHAR(255)) RETURNS VOID AS $$
BEGIN
PERFORM set_config('posmulten.tenant_id', $1, false);
END
$$ LANGUAGE plpgsql
VOLATILE;
after setting this option the DDL instruction should look like below example:
CREATE OR REPLACE FUNCTION set_current_tenant_id(VARCHAR(255)) RETURNS VOID AS $$ BEGIN PERFORM set_config('posmulten.tenant_id', $1, false); END $$ LANGUAGE plpgsql VOLATILE;