migrate

command
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2026 License: MIT Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL