Skip to content

Commit 3c254f4

Browse files
feat: tenants and installations migration (#5187)
* updated default schema for release, change in catalogue * updated release action check policy migration * updated sql script no * script number change * script number chnage * added sql scripts for tenant and installation * searchableKey service move * migrated cd deployment history code * updated table name * updated readme path for tenant * updated catalog fields in tenant * updated table naem * wip * sql script fix * updated env resource schema * updated column names * sql script number change * sql script number change --------- Co-authored-by: Shivam-nagar23 <shivam@devtron.ai>
1 parent b3f4f78 commit 3c254f4

File tree

2 files changed

+686
-0
lines changed

2 files changed

+686
-0
lines changed

scripts/sql/253_tenants.down.sql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
DROP TABLE IF EXISTS "public"."devtron_resource_object_dep_mapping";
2+
3+
4+
DELETE FROM devtron_resource_schema where devtron_resource_id in (select id from devtron_resource where kind in('tenant', 'installation'));
5+
6+
DELETE FROM devtron_resource where kind in('tenant', 'installation');

0 commit comments

Comments
 (0)