mirror of
https://github.com/open-metadata/OpenMetadata
synced 2026-05-24 09:39:11 +00:00
14 lines
547 B
MySQL
14 lines
547 B
MySQL
|
|
-- Task workflow cutover support - OpenMetadata 2.0.1
|
||
|
|
-- Maps legacy thread task IDs to new task entity IDs for migration traceability and redirects.
|
||
|
|
|
||
|
|
CREATE TABLE IF NOT EXISTS task_migration_mapping (
|
||
|
|
old_thread_id character varying(36) NOT NULL,
|
||
|
|
new_task_id character varying(36) NOT NULL,
|
||
|
|
migrated_at bigint NOT NULL,
|
||
|
|
source character varying(64) DEFAULT 'thread_task_migration',
|
||
|
|
PRIMARY KEY (old_thread_id)
|
||
|
|
);
|
||
|
|
|
||
|
|
CREATE INDEX IF NOT EXISTS idx_task_migration_mapping_new_task_id
|
||
|
|
ON task_migration_mapping (new_task_id);
|