 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Diff ¶
func Diff(logger logger.Logger, driver schema.DatabaseDriverType, to *schema.SchemaJson, from *schema.SchemaJson) ([]migrator.MigrateChanges, error)
func FormatDiff ¶
func FormatDiff(format DiffFormatType, driver schema.DatabaseDriverType, changes []migrator.MigrateChanges, out io.Writer) error
Types ¶
type DiffFormatType ¶
type DiffFormatType string
const ( FormatText DiffFormatType = "text" FormatSQL DiffFormatType = "sql" )
 Click to show internal directories. 
   Click to hide internal directories.