gitlabhq/db/migrate/20110927130352_create_notes.rb

13 lines
233 B
Ruby
Raw Normal View History

2011-10-08 23:36:38 +02:00
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