gitlabhq/db/migrate/20110927130352_create_notes.rb
2011-10-09 00:36:38 +03:00

13 lines
233 B
Ruby

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