gitlabhq/db/migrate/20110927130352_create_notes.rb

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