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

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

Change default of current_streak to 1
Change default of current_streak to 1
