Versions in this module Expand all Collapse all v1 v1.0.1 Aug 15, 2024 Changes in this version + func ReverseAlterWithCompares(create *ast.CreateTableStmt, alter *ast.AlterTableStmt) (string, bool, error) + func ReverseCreateTableStmt(in *ast.CreateTableStmt) string + func ReverseCreateTableStmts(nodes interface{ ... }) string + func ReverseDDLWithSnapshot(tx *gorm.DB, ddl ast.DDLNode) (reversing string, ok bool, err error) + func ReverseDropIndexStmtWithCompares(compares *ast.CreateTableStmt, drop *ast.DropIndexStmt) (string, bool, error) + func ShowCreateTable(tx *gorm.DB, tableName string) (create string, err error)