Skip to content
Snippets Groups Projects
Unverified Commit c7bf7d1d authored by Noah Moss's avatar Noah Moss Committed by GitHub
Browse files

Fix login_history indexed columns (#44091)

parent d843973a
No related branches found
No related tags found
No related merge requests found
......@@ -7941,6 +7941,42 @@ databaseChangeLog:
oldColumnName: direct_reference
newColumnName: explicit_reference
- changeSet:
id: v51.2024-06-12T18:53:02
author: noahmoss
comment: Drop incorrect index on login_history
changes:
- dropIndex:
tableName: login_history
indexName: idx_user_id_device_id
rollback:
- createIndex:
tableName: login_history
indexName: idx_user_id_device_id
columns:
- column:
name: session_id
- column:
name: device_id
- changeSet:
id: v51.2024-06-12T18:53:03
author: noahmoss
comment: Create index on login_history (user_id, device_id)
changes:
- createIndex:
tableName: login_history
indexName: idx_user_id_device_id
columns:
- column:
name: user_id
- column:
name: device_id
rollback:
- dropIndex:
tableName: login_history
indexName: idx_user_id_device_id
# >>>>>>>>>> DO NOT ADD NEW MIGRATIONS BELOW THIS LINE! ADD THEM ABOVE <<<<<<<<<<
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment