Documentation
¶
Overview ¶
File Path: monorepo/cloud/maplepress-backend/pkg/storage/database/cassandra/cassandra.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Migrator ¶
type Migrator struct {
// contains filtered or unexported fields
}
Migrator handles database schema migrations This encapsulates all migration logic and makes it testable
func NewMigrator ¶
NewMigrator creates a new migration manager
func (*Migrator) Down ¶
Down rolls back the last migration Useful for development and rollback scenarios
func (*Migrator) ForceVersion ¶
ForceVersion forces the migration version (useful for fixing dirty states)
Click to show internal directories.
Click to hide internal directories.