MattZhao/AtRisk

View on GitHub
db/migrate/20161017055137_create_forms.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method change has 51 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def change
    create_table :forms do |t|
      # default PRIMARY KEY is :id (automatically generated, and we do use it!)
      t.string :id_user # User ID (set to the UID when the user first creates the form)
      
Severity: Major
Found in db/migrate/20161017055137_create_forms.rb - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status