migrations

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

README

Migrations

To add a migration named x and add it to the list of migrations:

./migrations/add.sh x
go generate ./migrations

Documentation

Overview

Package migrations defines the database schema.

migrations.go is generated by go generate and lists migrations to run.

To add a new, empty migration, run add.sh.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, domain string, db *sql.DB) error

Run runs all migrations.

Types

This section is empty.

Jump to

Keyboard shortcuts

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