crowdAI/crowdai

View on GitHub
doc/technical/archived_migrations/20171212102835_conv_videos.rb

Summary

Maintainability
A
1 hr
Test Coverage

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

  def change
    execute "update submissions set media_content_type = 'video/mp4', media_large = '3382.mp4' where id = 3382;"
execute "update submissions set media_content_type = 'video/mp4', media_thumbnail = '3382.thumb.mp4' where id = 3382;"
execute "update submissions set media_content_type = 'video/mp4', media_large = '3395.mp4' where id = 3395;"
execute "update submissions set media_content_type = 'video/mp4', media_thumbnail = '3395.thumb.mp4' where id = 3395;"
Severity: Minor
Found in doc/technical/archived_migrations/20171212102835_conv_videos.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status