Added migration mgmt with goose.

This commit is contained in:
2025-06-04 02:36:09 -05:00
parent 9e59d05efe
commit fa5be206cb
13 changed files with 297 additions and 66 deletions

View File

@ -12,12 +12,6 @@ type Querier interface {
CreatePayment(ctx context.Context, arg CreatePaymentParams) (Payment, error)
CreateSite(ctx context.Context, arg CreateSiteParams) (Site, error)
CreateUser(ctx context.Context, arg CreateUserParams) (User, error)
// THIS IS NOT USED YET
// -- name: UpdateSiteDomain :one
// UPDATE sites
// SET domain = ?
// WHERE id = ?
// RETURNING *;
DeleteSite(ctx context.Context, id int64) error
DeleteUser(ctx context.Context, id int64) error
GetPaymentByID(ctx context.Context, id int64) (Payment, error)