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

20120308153855_create_doc_files.rb « migrate « db - github.com/git/git-scm.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ca7ace74a37851411cb3a5db685fb8ab8b2b7d70 (plain)
1
2
3
4
5
6
7
8
9
class CreateDocFiles < ActiveRecord::Migration
  def change
    create_table :doc_files do |t|
      t.string :name
      t.timestamps
    end
    add_index :doc_files, [:name]
  end
end