mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-25 22:49:12 +00:00
Fix 1.7.3 pending migrations (#22434)
* Fix 1.7.3 pending migrations * move to 1.8.7 * move to 1.8.7
This commit is contained in:
parent
7fe431a2a0
commit
4d473c8204
@ -1,3 +0,0 @@
|
||||
-- remove old reset link email template
|
||||
DELETE from doc_store where name = 'reset-link' and entityType = 'EmailTemplate';
|
||||
|
||||
@ -1,2 +0,0 @@
|
||||
-- remove old reset link email template
|
||||
DELETE from doc_store where name = 'reset-link' and entityType = 'EmailTemplate';
|
||||
@ -9,4 +9,11 @@ CREATE TABLE IF NOT EXISTS index_mapping_versions (
|
||||
PRIMARY KEY (entityType),
|
||||
INDEX idx_version (version),
|
||||
INDEX idx_updatedAt (updatedAt)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||
|
||||
-- remove old reset link email template
|
||||
DELETE from doc_store where name = 'reset-link' and entityType = 'EmailTemplate';
|
||||
|
||||
-- In case 1.7.3 migrations executed , with --force , remove it from server_logs as it is covered in this migration
|
||||
DELETE FROM SERVER_CHANGE_LOG WHERE version = '1.7.3';
|
||||
|
||||
|
||||
@ -10,4 +10,10 @@ CREATE TABLE IF NOT EXISTS index_mapping_versions (
|
||||
);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_index_mapping_versions_version ON index_mapping_versions (version);
|
||||
CREATE INDEX IF NOT EXISTS idx_index_mapping_versions_updatedAt ON index_mapping_versions (updatedAt);
|
||||
CREATE INDEX IF NOT EXISTS idx_index_mapping_versions_updatedAt ON index_mapping_versions (updatedAt);
|
||||
|
||||
-- remove old reset link email template
|
||||
DELETE from doc_store where name = 'reset-link' and entityType = 'EmailTemplate';
|
||||
|
||||
-- In case 1.7.3 migrations executed , with --force , remove it from server_logs as it is covered in this migration
|
||||
DELETE FROM SERVER_CHANGE_LOG WHERE version = '1.7.3';
|
||||
Loading…
x
Reference in New Issue
Block a user