Triplex - a complete solution to multi-tenancy with PG schemas

FYI – this should be

execute """
DROP FUNCTION #{prefix()}.next_id();
"""
2 Likes