Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20110927130352_create_notes.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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