Documentation ¶ Index ¶ func Migrate(db *sql.DB, logger *slog.Logger) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Migrate ¶ func Migrate(db *sql.DB, logger *slog.Logger) error Migrate runs all pending SQL migration files in order. Applied migrations are tracked in the schema_migrations table so each file is executed exactly once, even across restarts. Types ¶ This section is empty. Source Files ¶ View all Source files migrate.go Click to show internal directories. Click to hide internal directories.