Skip to content

Commit

Permalink
Limit migration to mobile_app and certificate only
Browse files Browse the repository at this point in the history
  • Loading branch information
banterCZ committed Oct 10, 2023
1 parent 85ebb97 commit ce62788
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 30 deletions.
15 changes: 0 additions & 15 deletions docs/sql/oracle/1.5.x-migration.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,6 @@
-- For table mobile_app
INSERT INTO mus_mobile_app SELECT * FROM ssl_mobile_app;

-- For table mobile_domain
INSERT INTO mus_mobile_domain SELECT * FROM ssl_mobile_domain;

-- For table user
INSERT INTO mus_user SELECT * FROM ssl_user;

-- For table user_authority
INSERT INTO mus_user_authority SELECT * FROM ssl_user_authority;

-- For table certificate
INSERT INTO mus_certificate SELECT * FROM ssl_certificate;

Expand All @@ -21,14 +12,8 @@ INSERT INTO mus_certificate SELECT * FROM ssl_certificate;
-- Drop old tables
DROP TABLE ssl_certificate CASCADE CONSTRAINTS;
DROP TABLE ssl_mobile_app CASCADE CONSTRAINTS;
DROP TABLE ssl_mobile_domain CASCADE CONSTRAINTS;
DROP TABLE ssl_user CASCADE CONSTRAINTS;
DROP TABLE ssl_user_authority CASCADE CONSTRAINTS;

-- Drop old sequences
DROP SEQUENCE ssl_certificate_seq;
DROP SEQUENCE ssl_mobile_app_seq;
DROP SEQUENCE ssl_mobile_domain_seq;
DROP SEQUENCE ssl_user_authority_seq;
DROP SEQUENCE ssl_user_seq;

15 changes: 0 additions & 15 deletions docs/sql/postgresql/1.5.x-migration.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,6 @@
-- For table mobile_app
INSERT INTO mus_mobile_app SELECT * FROM ssl_mobile_app;

-- For table mobile_domain
INSERT INTO mus_mobile_domain SELECT * FROM ssl_mobile_domain;

-- For table user
INSERT INTO mus_user SELECT * FROM ssl_user;

-- For table user_authority
INSERT INTO mus_user_authority SELECT * FROM ssl_user_authority;

-- For table certificate
INSERT INTO mus_certificate SELECT * FROM ssl_certificate;

Expand All @@ -21,13 +12,7 @@ INSERT INTO mus_certificate SELECT * FROM ssl_certificate;
-- Drop old tables
DROP TABLE ssl_certificate CASCADE;
DROP TABLE ssl_mobile_app CASCADE;
DROP TABLE ssl_mobile_domain CASCADE;
DROP TABLE ssl_user CASCADE;
DROP TABLE ssl_user_authority CASCADE;

-- Drop old sequences
DROP SEQUENCE ssl_certificate_seq CASCADE;
DROP SEQUENCE ssl_mobile_app_seq CASCADE;
DROP SEQUENCE ssl_mobile_domain_seq CASCADE;
DROP SEQUENCE ssl_user_authority_seq CASCADE;
DROP SEQUENCE ssl_user_seq CASCADE;

0 comments on commit ce62788

Please sign in to comment.