File tree Expand file tree Collapse file tree
bootstrap/sql/migrations/native/1.12.5 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- -- Placeholder for 1.12.5 MySQL post-data migration SQL
1+ -- Delete SearchIndexingApplication from entity_relationship (via installed_apps)
2+ DELETE er FROM entity_relationship er JOIN installed_apps ia ON er .fromId = ia .id OR er .toId = ia .id WHERE ia .name = ' SearchIndexingApplication' ;
3+
4+ -- Delete SearchIndexingApplication from entity_relationship (via apps_marketplace)
5+ DELETE er FROM entity_relationship er JOIN apps_marketplace ia ON er .fromId = ia .id OR er .toId = ia .id WHERE ia .name = ' SearchIndexingApplication' ;
6+
7+ -- Delete SearchIndexingApplication from installed_apps
8+ DELETE FROM installed_apps WHERE name = ' SearchIndexingApplication' ;
9+
10+ -- Delete SearchIndexingApplication from apps_marketplace
11+ DELETE FROM apps_marketplace WHERE name = ' SearchIndexingApplication' ;
12+
13+ -- Delete SearchIndexingApplication past runs
14+ DELETE FROM apps_extension_time_series WHERE appname = ' SearchIndexingApplication' ;
Original file line number Diff line number Diff line change 1- -- Placeholder for 1.12.5 PostgreSQL post-data migration SQL
1+ -- Delete SearchIndexingApplication from entity_relationship (via installed_apps)
2+ DELETE FROM entity_relationship er USING installed_apps ia WHERE (er .fromId = ia .id OR er .toId = ia .id ) AND ia .name = ' SearchIndexingApplication' ;
3+
4+ -- Delete SearchIndexingApplication from entity_relationship (via apps_marketplace)
5+ DELETE FROM entity_relationship er USING apps_marketplace ia WHERE (er .fromId = ia .id OR er .toId = ia .id ) AND ia .name = ' SearchIndexingApplication' ;
6+
7+ -- Delete SearchIndexingApplication from installed_apps
8+ DELETE FROM installed_apps WHERE name = ' SearchIndexingApplication' ;
9+
10+ -- Delete SearchIndexingApplication from apps_marketplace
11+ DELETE FROM apps_marketplace WHERE name = ' SearchIndexingApplication' ;
12+
13+ -- Delete SearchIndexingApplication past runs
14+ DELETE FROM apps_extension_time_series WHERE appname = ' SearchIndexingApplication' ;
You can’t perform that action at this time.
0 commit comments