Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Schema ¶
type Schema interface { Migrations() map[string]string CreateSchema(ctx context.Context, db DB) error CreateMigrationTable(ctx context.Context, db DB) error SelectMaxMigration(ctx context.Context, db DB) *sql.Row InsertMigrationRow(ctx context.Context, db DB, version uint32, fileName, sha string) error SelectUnlock(ctx context.Context, db DB) error SelectLock(ctx context.Context, db DB) error }
Schema performs queries on the RDBMS at hand. This setup is a mess, and should be cleaned up at some point.
type TableNames ¶
Click to show internal directories.
Click to hide internal directories.