CatStation/Content.Server.Database/Migrations/Postgres
Pieter-Jan Briers 4f3db43696
Integrate Modern HWID into content
This should be the primary changes for the future-proof "Modern HWID" system implemented into Robust and the auth server.

HWIDs in the database have been given an additional column representing their version, legacy or modern. This is implemented via an EF Core owned entity. By manually setting the column name of the main value column, we can keep DB compatibility and the migration is just adding some type columns.

This new HWID type has to be plumbed through everywhere, resulting in some breaking changes for the DB layer and such.

New bans and player records are placed with the new modern HWID. Old bans are still checked against legacy HWIDs.

Modern HWIDs are presented with a "V2-" prefix to admins, to allow distinguishing them. This is also integrated into the parsing logic for placing new bans.

There's also some code cleanup to reduce copy pasting around the place from my changes.

Requires latest engine to support ImmutableArray<byte> in NetSerializer.
2024-11-12 01:51:54 +01:00
..
20200929113117_Init.cs
20200929113117_Init.Designer.cs
20201006223000_SelectedCharacterSlotFk.cs
20201028210620_Admins.cs
20201028210620_Admins.Designer.cs
20201109092921_ExtraIndices.cs
20201109092921_ExtraIndices.Designer.cs
20201203093409_ClothingAndPronouns.cs
20201203093409_ClothingAndPronouns.Designer.cs
20210103151756_BackpackPreference.cs
20210103151756_BackpackPreference.Designer.cs
20210211211033_AdminOOCColor.cs
20210211211033_AdminOOCColor.Designer.cs
20210321230012_HWID.cs
20210321230012_HWID.Designer.cs
20210915093340_UniqueHighPriorityJob.cs
20210915093340_UniqueHighPriorityJob.Designer.cs
20211120202701_AdminLogs.cs
20211120202701_AdminLogs.Designer.cs
20211121123543_AdminLogsImpact.cs
20211121123543_AdminLogsImpact.Designer.cs
20220103235647_whitelist.cs Rename migrations to fix CS8981 warnings. (#14160) 2023-02-19 10:59:52 +11:00
20220103235647_whitelist.Designer.cs Rename migrations to fix CS8981 warnings. (#14160) 2023-02-19 10:59:52 +11:00
20220108185749_add-species.cs Rename migrations to fix CS8981 warnings. (#14160) 2023-02-19 10:59:52 +11:00
20220108185749_add-species.Designer.cs Rename migrations to fix CS8981 warnings. (#14160) 2023-02-19 10:59:52 +11:00
20220127170845_UnifyMore.cs
20220127170845_UnifyMore.Designer.cs
20220129005644_ServerBanHit.cs
20220129005644_ServerBanHit.Designer.cs
20220214061058_RoleBans.cs
20220214061058_RoleBans.Designer.cs
20220308222742_Cleanup.cs
20220308222742_Cleanup.Designer.cs
20220310173734_SpeciesMarkings.cs
20220310173734_SpeciesMarkings.Designer.cs
20220313151800_ServerNameFts.cs
20220313151800_ServerNameFts.Designer.cs
20220324144654_AdminNotes.cs
20220324144654_AdminNotes.Designer.cs
20220325170225_PlayerReadRules.cs
20220325170225_PlayerReadRules.Designer.cs
20220326104916_UploadedResourcesLog.cs
20220326104916_UploadedResourcesLog.Designer.cs
20220503222955_FixIndices.cs
20220503222955_FixIndices.Designer.cs
20220505084828_MarkingsJsonb.cs
20220505084828_MarkingsJsonb.Designer.cs
20220509060724_FlavorText.cs
20220509060724_FlavorText.Designer.cs
20220724000132_PlayTime.cs
20220724000132_PlayTime.Designer.cs
20220816163319_Traits.cs
20220816163319_Traits.Designer.cs
20230319110655_ProfileTraitIndexUnique.cs Server ban exemption system (#15076) 2023-04-03 10:24:55 +10:00
20230319110655_ProfileTraitIndexUnique.Designer.cs Server ban exemption system (#15076) 2023-04-03 10:24:55 +10:00
20230319112124_ServerBanExemption.cs Server ban exemption system (#15076) 2023-04-03 10:24:55 +10:00
20230319112124_ServerBanExemption.Designer.cs Server ban exemption system (#15076) 2023-04-03 10:24:55 +10:00
20230402214647_BanAutoDelete.cs Server ban exemption system (#15076) 2023-04-03 10:24:55 +10:00
20230402214647_BanAutoDelete.Designer.cs Server ban exemption system (#15076) 2023-04-03 10:24:55 +10:00
20230503001749_AdminNotesImprovement.cs Admin notes bugfixes (#18189) 2023-07-21 15:43:47 +02:00
20230503001749_AdminNotesImprovement.Designer.cs Better notes and bans (#14228) 2023-07-21 13:38:52 +02:00
20230725193102_AdminNotesImprovementsForeignKeys.cs GDPR stuff update (#18300) 2023-07-26 20:05:51 +02:00
20230725193102_AdminNotesImprovementsForeignKeys.Designer.cs GDPR stuff update (#18300) 2023-07-26 20:05:51 +02:00
20230727190902_AdminLogCompoundKey.cs Remove autogenerated from admin log key. (#18377) 2023-07-29 16:44:28 +10:00
20230727190902_AdminLogCompoundKey.Designer.cs Remove autogenerated from admin log key. (#18377) 2023-07-29 16:44:28 +10:00
20231021071411_RoundStartDate.cs Store round start date in the database (#21153) 2023-10-22 21:01:48 -07:00
20231021071411_RoundStartDate.Designer.cs Store round start date in the database (#21153) 2023-10-22 21:01:48 -07:00
20231024041204_DropAdminLogEntity.cs Drop admin log entity db table (#21216) 2023-10-23 22:08:20 -07:00
20231024041204_DropAdminLogEntity.Designer.cs Drop admin log entity db table (#21216) 2023-10-23 22:08:20 -07:00
20231126234054_ConnectionLogServer.cs Log server ID in connection logs table (#21911) 2023-12-07 09:48:56 +11:00
20231126234054_ConnectionLogServer.Designer.cs Log server ID in connection logs table (#21911) 2023-12-07 09:48:56 +11:00
20231226154937_AdminLogPk.cs Fix admin log key order. (#23052) 2024-01-11 01:03:25 +01:00
20231226154937_AdminLogPk.Designer.cs Fix admin log key order. (#23052) 2024-01-11 01:03:25 +01:00
20240112194620_Blacklist.cs Automated whitelists (#23985) 2024-08-27 18:01:17 +02:00
20240112194620_Blacklist.Designer.cs Automated whitelists (#23985) 2024-08-27 18:01:17 +02:00
20240201091301_SpawnPriorityPreference.cs Client customization late-join spawner priority for arrivals/cryostorage (#24586) 2024-02-01 21:12:09 +11:00
20240201091301_SpawnPriorityPreference.Designer.cs Client customization late-join spawner priority for arrivals/cryostorage (#24586) 2024-02-01 21:12:09 +11:00
20240301130641_ClothingRemoval.cs Loadouts redux (#25715) 2024-04-16 22:57:43 +10:00
20240301130641_ClothingRemoval.Designer.cs Loadouts redux (#25715) 2024-04-16 22:57:43 +10:00
20240318022005_AdminMessageDismiss.cs Fix missing semicolon after migration. (#26337) 2024-03-22 16:50:55 +01:00
20240318022005_AdminMessageDismiss.Designer.cs Improve admin message seen/dismiss state. (#26223) 2024-03-21 16:15:46 +01:00
20240403072242_Loadouts.cs Loadouts redux (#25715) 2024-04-16 22:57:43 +10:00
20240403072242_Loadouts.Designer.cs Loadouts redux (#25715) 2024-04-16 22:57:43 +10:00
20240409013837_FixRoundStartDateNullability.cs Fix database round start date issues (#26838) 2024-04-14 07:39:43 +02:00
20240409013837_FixRoundStartDateNullability.Designer.cs Fix database round start date issues (#26838) 2024-04-14 07:39:43 +02:00
20240531011555_RoleWhitelist.cs Add job whitelist system (#28085) 2024-06-01 05:08:31 -07:00
20240531011555_RoleWhitelist.Designer.cs Add job whitelist system (#28085) 2024-06-01 05:08:31 -07:00
20240606065731_RemoveLastReadRules.cs Convert rules to use guidebook parsing (#28647) 2024-06-06 03:11:26 -04:00
20240606065731_RemoveLastReadRules.Designer.cs Convert rules to use guidebook parsing (#28647) 2024-06-06 03:11:26 -04:00
20240606121555_ban_notify_trigger.cs Kick on ban for entire server group (#28649) 2024-08-20 23:31:33 +02:00
20240606121555_ban_notify_trigger.Designer.cs Kick on ban for entire server group (#28649) 2024-08-20 23:31:33 +02:00
20240606175154_ReturnLastReadRules.cs Fixes client having authority over rules popup cvars (#28655) 2024-06-07 21:53:20 +02:00
20240606175154_ReturnLastReadRules.Designer.cs Fixes client having authority over rules popup cvars (#28655) 2024-06-07 21:53:20 +02:00
20240621120713_ConnectionLogTimeIndex.cs Add time index to connection log (#29281) 2024-06-21 15:29:10 +02:00
20240621120713_ConnectionLogTimeIndex.Designer.cs Add time index to connection log (#29281) 2024-06-21 15:29:10 +02:00
20240623005121_BanTemplate.cs Ban template system (#29365) 2024-06-23 17:33:54 +02:00
20240623005121_BanTemplate.Designer.cs Ban template system (#29365) 2024-06-23 17:33:54 +02:00
20241111170112_ModernHwid.cs Integrate Modern HWID into content 2024-11-12 01:51:54 +01:00
20241111170112_ModernHwid.Designer.cs Integrate Modern HWID into content 2024-11-12 01:51:54 +01:00
20241111193608_ConnectionTrust.cs Integrate Modern HWID into content 2024-11-12 01:51:54 +01:00
20241111193608_ConnectionTrust.Designer.cs Integrate Modern HWID into content 2024-11-12 01:51:54 +01:00
PostgresServerDbContextModelSnapshot.cs Integrate Modern HWID into content 2024-11-12 01:51:54 +01:00