Versions in this module Expand all Collapse all v2 v2.0.0 Jul 31, 2024 Changes in this version + const CreateSchema + func GetClusterMemberAPIExtensions(ctx context.Context, tx *sql.Tx) ([]extensions.Extensions, error) + func GetClusterMemberSchemaVersions(ctx context.Context, tx *sql.Tx) (internalSchema []uint64, externalSchema []uint64, err error) + func PrepareUpdateV1(ctx context.Context, tx *sql.Tx) (tableName string, err error) + func UpdateClusterMemberAPIExtensions(ctx context.Context, tx *sql.Tx, apiExtensions extensions.Extensions, ...) error + func UpdateClusterMemberSchemaVersion(ctx context.Context, tx *sql.Tx, internalVersion uint64, ...) error + type SchemaUpdate struct + func (s *SchemaUpdate) Check(check schema.Check) + func (s *SchemaUpdate) Ensure(db *sql.DB) (int, error) + func (s *SchemaUpdate) File(path string) + func (s *SchemaUpdate) Fresh(statement string) + func (s *SchemaUpdate) Version() (internalVersion uint64, externalVersion uint64, ...) + type SchemaUpdateManager struct + func NewSchema() *SchemaUpdateManager + func (s *SchemaUpdateManager) AppendSchema(schemaExtensions []schema.Update, apiExtensions extensions.Extensions) + func (s *SchemaUpdateManager) Schema() *SchemaUpdate + func (s *SchemaUpdateManager) SetExternalUpdates(updates []schema.Update) + func (s *SchemaUpdateManager) SetInternalUpdates(updates []schema.Update) Other modules containing this package github.com/masnax/microtest