1 2 3 4 5 6 7 8 9 10
class CreateNotes < ActiveRecord::Migration def change create_table :notes do |t| t.string :title t.text :body t.timestamps null: false end end end