Documentation
¶
Overview ¶
Command migrate brings the lobby's database to the schema this build expects: the lobby's versioned migrations (postgres.Migrate), which keep existing rows, and nothing else. A deploy runs it once, before a new build serves; the Lambda host, cmd/lobby-lambda, runs no schema changes. It reads LOBBY_DATABASE_URL and the optional pool settings, and nothing else, so a deploy script can run it with the database's credentials alone.
Click to show internal directories.
Click to hide internal directories.