Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateFile ¶ added in v0.4.0
func MirrorMigration ¶ added in v0.5.1
マイグレーションファイルのコピー
Types ¶
type MigrationIO ¶ added in v0.5.0
type Postgres ¶
type Postgres struct { User string `mapstructure:"POSTGRES_USER"` Password string `mapstructure:"POSTGRES_PASSWORD"` Host string `mapstructure:"POSTGRES_HOST_NAME"` Port string `mapstructure:"POSTGRES_HOST_PORT"` Db string `mapstructure:"POSTGRES_DB"` }
DB(Postgres)
func (*Postgres) DatabaseUrl ¶
INFO: データベース出力先
type Source ¶
type Source struct { SchemaName string `yaml:"schema"` Repository string `yaml:"gitRepository"` Tag string `yaml:"gitTag"` SourceType SourceType `yaml:"sourceType"` }
type SourceSet ¶
type SourceSet struct { SourceArray []Source `yaml:"sources"` // contains filtered or unexported fields }
Source list
func NewSourceSet ¶
ソースファイルの読み込み
func (*SourceSet) CheckSchemas ¶ added in v0.5.0
INFO: スキーマリストチェック(+ユニーク化)
type SourceType ¶
type SourceType string
----+----+----+----+----+----+----+----+----+---- migration source
var ( GITHUB SourceType = "github" LOCAL_FILE SourceType = "local" )
Click to show internal directories.
Click to hide internal directories.