diff --git a/persistence/sql/migrations/sql/202511031143000000000_create_selfservice_login_flows_expires_at_index.mysql.down.sql b/persistence/sql/migrations/sql/202511031143000000000_create_selfservice_login_flows_expires_at_index.mysql.down.sql new file mode 100644 index 000000000000..c92f54f58c14 --- /dev/null +++ b/persistence/sql/migrations/sql/202511031143000000000_create_selfservice_login_flows_expires_at_index.mysql.down.sql @@ -0,0 +1 @@ +DROP INDEX `selfservice_login_flows_expires_at_idx` ON `selfservice_login_flows`; diff --git a/persistence/sql/migrations/sql/202511031143000000000_create_selfservice_login_flows_expires_at_index.mysql.up.sql b/persistence/sql/migrations/sql/202511031143000000000_create_selfservice_login_flows_expires_at_index.mysql.up.sql new file mode 100644 index 000000000000..cdf4f7baf0d1 --- /dev/null +++ b/persistence/sql/migrations/sql/202511031143000000000_create_selfservice_login_flows_expires_at_index.mysql.up.sql @@ -0,0 +1,2 @@ +CREATE INDEX selfservice_login_flows_expires_at_idx + ON selfservice_login_flows (expires_at); diff --git a/persistence/sql/migrations/sql/202511031143000000001_create_selfservice_registration_flows_expires_at_index.mysql.down.sql b/persistence/sql/migrations/sql/202511031143000000001_create_selfservice_registration_flows_expires_at_index.mysql.down.sql new file mode 100644 index 000000000000..15bf039a4973 --- /dev/null +++ b/persistence/sql/migrations/sql/202511031143000000001_create_selfservice_registration_flows_expires_at_index.mysql.down.sql @@ -0,0 +1 @@ +DROP INDEX selfservice_registration_flows_expires_at_idx ON selfservice_registration_flows; diff --git a/persistence/sql/migrations/sql/202511031143000000001_create_selfservice_registration_flows_expires_at_index.mysql.up.sql b/persistence/sql/migrations/sql/202511031143000000001_create_selfservice_registration_flows_expires_at_index.mysql.up.sql new file mode 100644 index 000000000000..f5f326291004 --- /dev/null +++ b/persistence/sql/migrations/sql/202511031143000000001_create_selfservice_registration_flows_expires_at_index.mysql.up.sql @@ -0,0 +1,2 @@ +CREATE INDEX selfservice_registration_flows_expires_at_idx + ON selfservice_registration_flows (expires_at);