assetimmudbmigrations

package
v0.0.0-...-44f2542 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateAssetEventsTable

func NewCreateAssetEventsTable() ximmudb.Migration

NewCreateAssetEventsTable creates a new migration.

func NewCreateAssetsDatabase

func NewCreateAssetsDatabase() ximmudb.Migration

NewCreateAssetsDatabase creates a new migration.

Types

type CreateAssetEventsTable

type CreateAssetEventsTable struct {
}

CreateAssetEventsTable represents a immudb SQL migration.

func (*CreateAssetEventsTable) Up

func (m *CreateAssetEventsTable) Up(db *sql.DB) error

Up applies the migration.

type CreateAssetsDatabase

type CreateAssetsDatabase struct {
}

CreateAssetsDatabase represents a immudb SQL migration.

func (*CreateAssetsDatabase) Down

func (m *CreateAssetsDatabase) Down() error

Down reverts the migration. Note: migration cannot be reverted in immudb.

func (*CreateAssetsDatabase) Up

func (m *CreateAssetsDatabase) Up(db *sql.DB) error

Up applies the migration.

Jump to

Keyboard shortcuts

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