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

20121004140911_create_projects.rb « migrate « ci « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a9fee3aa6c8bea1e0db67464e0aafd9ed7bc600f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class CreateProjects < ActiveRecord::Migration
  def up
    create_table :projects do |t|
      t.string :name, null: false
      t.string :path, null: false
      t.integer :timeout, null: false, default: 1800
      t.text :scripts, null: false
      t.timestamps
    end
  end

  def down
  end
end