diff --git a/bootstrap/sql/migrations/native/1.6.2/mysql/postDataMigrationSQLScript.sql b/bootstrap/sql/migrations/native/1.6.2/mysql/postDataMigrationSQLScript.sql new file mode 100644 index 00000000000..e69de29bb2d diff --git a/bootstrap/sql/migrations/native/1.6.2/mysql/schemaChanges.sql b/bootstrap/sql/migrations/native/1.6.2/mysql/schemaChanges.sql new file mode 100644 index 00000000000..af8cd97bb51 --- /dev/null +++ b/bootstrap/sql/migrations/native/1.6.2/mysql/schemaChanges.sql @@ -0,0 +1,2 @@ +-- add timestamp index for test case result reindex performance +ALTER TABLE data_quality_data_time_series ADD INDEX `idx_timestamp_desc` (timestamp DESC); \ No newline at end of file diff --git a/bootstrap/sql/migrations/native/1.6.2/postgres/postDataMigrationSQLScript.sql b/bootstrap/sql/migrations/native/1.6.2/postgres/postDataMigrationSQLScript.sql new file mode 100644 index 00000000000..e69de29bb2d diff --git a/bootstrap/sql/migrations/native/1.6.2/postgres/schemaChanges.sql b/bootstrap/sql/migrations/native/1.6.2/postgres/schemaChanges.sql new file mode 100644 index 00000000000..776cc2bd2ee --- /dev/null +++ b/bootstrap/sql/migrations/native/1.6.2/postgres/schemaChanges.sql @@ -0,0 +1,2 @@ +-- add timestamp index for test case result reindex performance +CREATE INDEX idx_timestamp_desc ON data_quality_data_time_series (timestamp DESC);