Add index that was missed by scaffold

This commit is contained in:
Laura Hausmann 2024-01-06 19:09:43 +01:00
parent 06a7918318
commit c44e5811a5
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -6,6 +6,7 @@ using NpgsqlTypes;
namespace Iceshrimp.Backend.Core.Database.Tables; namespace Iceshrimp.Backend.Core.Database.Tables;
[Table("notification")] [Table("notification")]
[Index("Type", Name = "IDX_33f33cc8ef29d805a97ff4628b")]
[Index("IsRead", Name = "IDX_080ab397c379af09b9d2169e5b")] [Index("IsRead", Name = "IDX_080ab397c379af09b9d2169e5b")]
[Index("NotifierId", Name = "IDX_3b4e96eec8d36a8bbb9d02aa71")] [Index("NotifierId", Name = "IDX_3b4e96eec8d36a8bbb9d02aa71")]
[Index("NotifieeId", Name = "IDX_3c601b70a1066d2c8b517094cb")] [Index("NotifieeId", Name = "IDX_3c601b70a1066d2c8b517094cb")]