programandoarg/pg_rails

View on GitHub
pg_engine/db/migrate/20240205194218_devise_create_users.rb

Summary

Maintainability
A
0 mins
Test Coverage

Method change has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Invalid

  def change
    create_table :users do |t|
      ## Database authenticatable
      t.string :email,              null: false, default: ""
      t.string :encrypted_password, null: false, default: ""
Severity: Minor
Found in pg_engine/db/migrate/20240205194218_devise_create_users.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status