class CreateNotes

Public Instance Methods

change() click to toggle source
# File lib/db/migrate/20161003121448_create_notes.rb, line 2
def change
  create_table :notes do |t|
    t.belongs_to :item
    t.text :body
    t.timestamps null: false
  end
end