Versions in this module Expand all Collapse all v0 v0.1.0 Dec 4, 2025 Changes in this version + type Config struct + DatabaseURL string + MigrationsPath string + func LoadConfigFromEnv() (*Config, error) + type IntegrationManager struct + func NewIntegrationManager(manager *Migrator, options *IntegrationOptions) *IntegrationManager + func (im *IntegrationManager) EnsureMigrations(ctx context.Context) error + func (im *IntegrationManager) HealthCheck(ctx context.Context) error + func (im *IntegrationManager) WaitForDatabase(ctx context.Context) error + type IntegrationOptions struct + AutoMigrate bool + RetryAttempts int + RetryInterval time.Duration + Timeout time.Duration + func DefaultIntegrationOptions() *IntegrationOptions + type Migrator struct + func New(cfg *Config) (*Migrator, error) + func NewWithEnv() (*Migrator, error) + func (m *Migrator) Close() error + func (m *Migrator) Down() error + func (m *Migrator) Force(version int) error + func (m *Migrator) Status() error + func (m *Migrator) Up() error + func (m *Migrator) Version() (int, bool, error)