class CreateSkills < ActiveRecord::Migration
  def change
    create_table :skills do |t|
      t.string :title, null: false
      t.integer :current_streak, default: 1
      t.integer :longest_streak, default: 1
      t.integer :expiration_time

      t.references :user

      t.timestamps
    end
  end
end

class CreateSkills < ActiveRecord::Migration
  def change
    create_table :skills do |t|
      t.string :title, null: false
      t.integer :current_streak, default: 0
      t.integer :longest_streak, default: 1
      t.integer :expiration_time

      t.references :user

      t.timestamps
    end
  end
end

Change default current_streak value in skills migration
Change default current_streak value in skills migration
