This commit is contained in:
@@ -20,6 +20,16 @@ abstract class TestCase extends BaseTestCase
|
||||
&& (string) $db->getConfig('port') === '55441'
|
||||
&& in_array($db->getConfig('host'), ['127.0.0.1', 'localhost'], true)) {
|
||||
$db->statement('DROP SCHEMA IF EXISTS skills_edu CASCADE');
|
||||
if ($db->selectOne("SELECT to_regclass('public.complementary_project_links') AS id")->id !== null) {
|
||||
$db->statement('DROP TRIGGER IF EXISTS project_dependency_check ON public.complementary_project_links');
|
||||
$db->statement('DROP TRIGGER IF EXISTS project_dependency_lock ON public.complementary_project_links');
|
||||
}
|
||||
$db->statement('DROP FUNCTION IF EXISTS public.check_project_dependency_graph() RESTRICT');
|
||||
$db->statement('DROP FUNCTION IF EXISTS public.lock_project_dependency_graph() RESTRICT');
|
||||
if ($db->selectOne("SELECT to_regclass('public.existing_business_locations') AS id")->id !== null) {
|
||||
$db->statement('DROP TRIGGER IF EXISTS existing_business_locations_hierarchy_trigger ON public.existing_business_locations');
|
||||
}
|
||||
$db->statement('DROP FUNCTION IF EXISTS public.enforce_existing_business_location_hierarchy() RESTRICT');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user