repository

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository struct {
	// contains filtered or unexported fields
}

func NewRepository

func NewRepository(db *sqlx.DB) Repository

func (Repository) EnsureCreated

func (r Repository) EnsureCreated() error

func (Repository) ExecuteMigrations

func (r Repository) ExecuteMigrations(groups []types.Group) error

func (Repository) GetMigrationsByGroup

func (r Repository) GetMigrationsByGroup(groupId int) ([]string, error)

func (Repository) SummarizeMigrations

func (r Repository) SummarizeMigrations() ([]types.GroupSummary, error)

Jump to

Keyboard shortcuts

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