Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Redesign database infrastructure #912

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 12, 2020

  1. Redesign database infrastructure

    All tables that have an `(account_id, game_id)` primary key will be
    changed to `(player_id, game_id)`. Pretty much every instance of an
    account ID is replaced with a player ID in all game-scoped code.
    
    This is the first step in a major redesign to associate tables to the
    most closely-related table, rather than having everything depend on
    the high-level `account` table.
    
    Some features that this change will help facilitate:
    * Multiple players per account per game (to replace "multi accounts").
    * NPCs not needing an associated account.
    * Free-standing ships/weapons.
    hemberger committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    e1c155a View commit details
    Browse the repository at this point in the history