class CreateTasks < ActiveRecord::Migration - CreateTasks has no descriptive comment
def change
create_table :tasks do |t| - CreateTasks#change has the variable name 't'
t.string :name, limit: 60, null: false
t.timestamps null: false
end
add_index :tasks, :name, unique: true
end
end