schema

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ExpectedVersion uint = 2

Variables

This section is empty.

Functions

This section is empty.

Types

type Schema

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

func New

func New(postgresEndpoint string) (*Schema, error)

func (*Schema) Close

func (s *Schema) Close()

func (*Schema) Downgrade

func (s *Schema) Downgrade() error

func (*Schema) Upgrade

func (s *Schema) Upgrade() error

func (*Schema) ValidateVersion

func (s *Schema) ValidateVersion() (uint, error)

func (*Schema) Version

func (s *Schema) Version() (uint, error)

Jump to

Keyboard shortcuts

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