Versions in this module Expand all Collapse all v1 v1.0.1 Dec 13, 2022 Changes in this version + type Config struct + Ignores []*IgnoreTable + type IgnoreTable struct + Columns []string + Table string v1.0.0 Nov 15, 2022 Changes in this version + const DbPattern + const Dsn + const HostPattern + func Execute() error + type Column struct + CharacterMaximumLength sql.NullInt64 + CharacterOctetLength sql.NullInt64 + CharacterSetName sql.NullString + CollationName sql.NullString + ColumnComment string + ColumnDefault sql.NullString + ColumnKey string + ColumnName string + ColumnType string + DataType string + DatetimePrecision sql.NullInt64 + EXTRA string + GenerationExpression string + IsNullable string + NumericPrecision sql.NullInt64 + NumericScale sql.NullInt64 + OrdinalPosition int + PRIVILEGES string + TableCatalog string + TableName string + TableSchema string + type Converter struct + func NewConverter(serverDbConfig *DbConfig, serverDb *gorm.DB, serverTable *Table) *Converter + func (c *Converter) Start() + type DbConfig struct + Charset string + Database string + Host string + Password string + Port int + User string + type KeyColumnUsage struct + ColumnName string + ConstraintCatalog string + ConstraintName string + ConstraintSchema string + OrdinalPosition int64 + PositionInUniqueConstraint int64 + ReferencedColumnName string + ReferencedTableName string + ReferencedTableSchema string + TableCatalog string + TableName string + TableSchema string + type MySQL2SQLiteColumn struct + DataType string + SQLiteDataType string + type ReferentialConstraints struct + ConstraintCatalog string + ConstraintName string + ConstraintSchema string + DeleteRule string + MatchOption string + ReferencedTableName string + TableName string + UniqueConstraintCatalog string + UniqueConstraintName string + UniqueConstraintSchema string + UpdateRule string + type Schema struct + CatalogName string + DefaultCharacterSetName string + DefaultCollationName string + SchemaName string + SqlPath sql.NullString + type Statistic struct + CARDINALITY sql.NullInt64 + COLLATION sql.NullString + COMMENT sql.NullString + ColumnName string + IndexComment string + IndexName string + IndexSchema string + IndexType string + IsVisible sql.NullString + NULLABLE string + NonUnique int64 + PACKED sql.NullString + SeqInIndex int + SubPart sql.NullInt32 + TableCatalog string + TableName string + TableSchema string + type Table struct + AutoIncrement sql.NullInt64 + AvgRowLength sql.NullInt64 + CHECKSUM sql.NullInt64 + CheckTime sql.NullTime + CreateOptions sql.NullString + CreateTime sql.NullTime + DataFree sql.NullInt64 + DataLength sql.NullInt64 + ENGINE sql.NullString + IndexLength sql.NullInt64 + MaxDataLength sql.NullInt64 + RowFormat sql.NullString + TableCatalog string + TableCollation sql.NullString + TableComment string + TableName string + TableRows sql.NullInt64 + TableSchema string + TableType string + UpdateTime sql.NullTime + VERSION sql.NullInt64 + type TableConstraints struct + ConstraintCatalog string + ConstraintName string + ConstraintSchema string + ConstraintType string + TableName string + TableSchema string + type View struct + CharacterSetClient string + CheckOption string + CollationConnection string + DEFINER string + IsUpdatable string + SecurityType string + TableCatalog string + TableName string + TableSchema string + ViewDefinition string