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

20120308153921_create_docs.rb « migrate « db - github.com/git/git-scm.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3b943607b5e8cfe06dec006b0403409e5e74963a (plain)
1
2
3
4
5
6
7
8
9
10
11
class CreateDocs < ActiveRecord::Migration
  def change
    create_table :docs do |t|
      t.text :blob_sha
      t.text :plain
      t.text :html
      t.timestamps
    end
    add_index :docs, [:blob_sha]
  end
end