File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ func (t TableColumnChange) String() string {
260260 }
261261}
262262
263- func getColumnChangeSummary (change TableColumnChange ) string {
263+ func GetColumnChangeSummary (change TableColumnChange ) string {
264264 switch change .Type {
265265 case TableColumnChangeTypeAdd :
266266 if change .Current .PrimaryKey {
@@ -342,7 +342,7 @@ func GetChangesSummary(tablesChanges map[string][]TableColumnChange) string {
342342 summary .WriteString (fmt .Sprintf ("%s:\n " , table ))
343343 changes := tablesChanges [table ]
344344 changesString := lo .Map (changes , func (change TableColumnChange , _ int ) string {
345- return fmt .Sprintf (" - %s" , getColumnChangeSummary (change ))
345+ return fmt .Sprintf (" - %s" , GetColumnChangeSummary (change ))
346346 })
347347 slices .Sort (changesString )
348348 summary .WriteString (strings .Join (changesString , "\n " ))
You can’t perform that action at this time.
0 commit comments