DROP FUNCTION IF EXISTS mocha_get_current_tenant;

CREATE FUNCTION mocha_get_current_tenant
(
)
RETURNS INT
RETURN @current_tenant_id;