doc/technical/archived_migrations/20160825064944_add_friendly_ids.rb
Method change
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def change
add_column :article_sections, :slug, :string
add_index :article_sections, :slug, unique: true
add_column :articles, :slug, :string