Documentation ¶
Overview ¶
Copyright (c) 2023 the go-mongr8 Authors and Contributors [@see Authors file]
Licensed under the MIT License (https://opensource.org/licenses/MIT)
Index ¶
- type Cmd
- type Migration
- func (m *Migration) ApplyMigration(migrations []migrator.Migration) error
- func (m *Migration) ConsolidateMigration(collections []collection.Collection, migrations []migrator.Migration) error
- func (m *Migration) GenerateMigration(collections []collection.Collection, migrations []migrator.Migration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd interface { ApplyMigration(migrations []migrator.Migration) error ConsolidateMigration(collections []collection.Collection, migrations []migrator.Migration) error GenerateMigration(collections []collection.Collection, migrations []migrator.Migration) error }
type Migration ¶
type Migration struct { Cmd // contains filtered or unexported fields }
func (*Migration) ApplyMigration ¶
func (*Migration) ConsolidateMigration ¶
func (m *Migration) ConsolidateMigration(collections []collection.Collection, migrations []migrator.Migration) error
func (*Migration) GenerateMigration ¶
func (m *Migration) GenerateMigration(collections []collection.Collection, migrations []migrator.Migration) error
Click to show internal directories.
Click to hide internal directories.