schema/field: expose RType.Implements method (#2379)

Also, add both (T) and (*T) methods for RType
This commit is contained in:
Ariel Mashraki
2022-03-07 22:33:50 +02:00
committed by GitHub
parent a1a7cd8114
commit 78a0fd9716
4 changed files with 107 additions and 25 deletions

View File

@@ -171,7 +171,7 @@ func (m *Migrate) Diff(ctx context.Context, tables ...*Table) error {
if err != nil {
return err
}
// Skip if the plan has no changes
// Skip if the plan has no changes.
if len(plan.Changes) == 0 {
return nil
}