summaryrefslogtreecommitdiff
path: root/db/migrate/20110927130352_create_notes.rb
blob: 72a0e817617065ad35d2fd9a806a6ec5468cba7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class CreateNotes < ActiveRecord::Migration
  def change
    create_table :notes do |t|
      t.string :note
      t.integer :noteable_id
      t.string :noteable_type
      t.integer :author_id

      t.timestamps
    end
  end
end