alenn-m/rgen

View on GitHub
generator/migration/migration.go

Summary

Maintainability
A
45 mins
Test Coverage

Method Migration.createMigration has 7 return statements (exceeds 4 allowed).
Open

func (m *Migration) createMigration(opts *ctable.Options) error {
    t := NewTable(inflection.Plural(opts.TableName), map[string]interface{}{
        "timestamps": false,
    })

Severity: Major
Found in generator/migration/migration.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status