migrate

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoApplyMigration

func AutoApplyMigration(ctx context.Context, postgresUrl, planName string, tables ...*models.Table)

func Migrate

func Migrate(ctx context.Context, postgresUrl, migrationPath, planName string, tables []*models.Table)

func TransformFieldToAtlasColumn

func TransformFieldToAtlasColumn(field models.FieldI) *schema.Column

func TransformSchemaToAtlasSchema

func TransformSchemaToAtlasSchema(schemaName string, tables []*models.Table) *schema.Schema

func TransformTableToAtlasTable

func TransformTableToAtlasTable(table *models.Table) *schema.Table

Types

This section is empty.

Jump to

Keyboard shortcuts

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