20110927130352_create_notes.rb 233 Bytes
Newer Older
gitlabhq's avatar
gitlabhq committed
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