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

20150605002131_create_variables.rb « migrate « ci « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b70b7e28f1528b3eadde9adb7789cb0053059e9f (plain)
1
2
3
4
5
6
7
8
9
10
11
class CreateVariables < ActiveRecord::Migration
  def change
    create_table :variables do |t|
      t.integer :project_id, null: false
      t.string :key
      t.text :value
    end

    add_index :variables, :project_id
  end
end