migrations

package
v0.0.0-...-e6f7b9e Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func NewManager

func NewManager(db *spanner.Client, instanceID string) *Manager

func (*Manager) CopyPosts

func (r *Manager) CopyPosts(ctx context.Context) error

func (*Manager) DeletePosts

func (r *Manager) DeletePosts(ctx context.Context, postIDs ...string) error

func (*Manager) GetExistentPostIDs

func (r *Manager) GetExistentPostIDs(ctx context.Context, postIDs ...string) ([]string, error)

func (*Manager) GetTempPosts

func (r *Manager) GetTempPosts(ctx context.Context, limit int) ([]repo.Post, error)

func (*Manager) RunCopyPostsMigration

func (r *Manager) RunCopyPostsMigration(ctx context.Context)

Jump to

Keyboard shortcuts

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