mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 02:43:44 +00:00
Four tables (MySQL migration 97, SQLite 80) and the IGuilds interface with MySQL, SQLite and TestSQL implementations, for the guild system (docs/Guilds.md). A guild has a name (unique without regard to case), a name status like pet_names (1 waiting for moderation, 2 approved), its founder and when it was made. A character is in at most one guild (guild_members, with its rank: 1 leader, 2 officer, 3 veteran, 4 recruit, the client's names, and when it joined) and has at most one pending invite (guild_invites). guild_events is each guild's history and outlives the guild. Deleting a character removes its membership and the invites to and from it. Nothing uses the tables yet. Check: both migrations run on a fresh and an existing database; DatabaseParityTests Guilds passes against MariaDB (DLU_TEST_MYSQL_HOST) and SQLite gives the same results. Nothing to check in game. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
56 lines
1.0 KiB
CMake
56 lines
1.0 KiB
CMake
set(DDATABASES_DATABASES_MYSQL_TABLES_SOURCES
|
|
"Accounts.cpp"
|
|
"AccountsRewardCodes.cpp"
|
|
"AuditLog.cpp"
|
|
"Dashboard.cpp"
|
|
"Economy.cpp"
|
|
"Admin.cpp"
|
|
"ServerConfig.cpp"
|
|
"SlashCommands.cpp"
|
|
"ScheduledTasks.cpp"
|
|
"CharacterSnapshots.cpp"
|
|
"AccountNotes.cpp"
|
|
"AccountStrikes.cpp"
|
|
"ApiKeys.cpp"
|
|
"PermissionGrants.cpp"
|
|
"Guilds.cpp"
|
|
"Moderation.cpp"
|
|
"ServerHealth.cpp"
|
|
"PlayerPositions.cpp"
|
|
"AiSuggestions.cpp"
|
|
"ServerOperations.cpp"
|
|
"LiveOps.cpp"
|
|
"FeaturedProperties.cpp"
|
|
"Contraband.cpp"
|
|
"PropertyRent.cpp"
|
|
"PropertyReputation.cpp"
|
|
"BbbAutosave.cpp"
|
|
"ServerTraffic.cpp"
|
|
"MessageCaptures.cpp"
|
|
"ChatLog.cpp"
|
|
"RelatedData.cpp"
|
|
"ActivityLog.cpp"
|
|
"Behaviors.cpp"
|
|
"BugReports.cpp"
|
|
"CharInfo.cpp"
|
|
"CharXml.cpp"
|
|
"CommandLog.cpp"
|
|
"Friends.cpp"
|
|
"IgnoreList.cpp"
|
|
"Leaderboard.cpp"
|
|
"Mail.cpp"
|
|
"MigrationHistory.cpp"
|
|
"ObjectIdTracker.cpp"
|
|
"PetNames.cpp"
|
|
"PlayerCheatDetections.cpp"
|
|
"PlayKeys.cpp"
|
|
"Property.cpp"
|
|
"PropertyContents.cpp"
|
|
"Servers.cpp"
|
|
"Ugc.cpp"
|
|
"UgcModularBuild.cpp"
|
|
"UgcLookup.cpp"
|
|
PARENT_SCOPE
|
|
)
|
|
|