diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-12-10 20:08:59 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-12-11 20:02:09 +0300 |
commit | 91cdb08d5fa83a86f5f18088bf148e832732bed9 (patch) | |
tree | 9a3dd429b6db8be47c5aec7690ee03a93136d7fe /db/migrate/20151210125928_add_ci_to_project.rb | |
parent | 3d9ce37a48615032c786913acdde1eedba351361 (diff) |
Rename columns and rename migrations
Diffstat (limited to 'db/migrate/20151210125928_add_ci_to_project.rb')
-rw-r--r-- | db/migrate/20151210125928_add_ci_to_project.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20151210125928_add_ci_to_project.rb b/db/migrate/20151210125928_add_ci_to_project.rb new file mode 100644 index 00000000000..8a65abab636 --- /dev/null +++ b/db/migrate/20151210125928_add_ci_to_project.rb @@ -0,0 +1,11 @@ +class AddCiToProject < ActiveRecord::Migration + def up + add_column :projects, :ci_id, :integer + add_column :projects, :builds_enabled, :boolean, default: true, null: false + add_column :projects, :shared_runners_enabled, :boolean, default: true, null: false + add_column :projects, :runners_token, :string + add_column :projects, :build_coverage_regex, :string + add_column :projects, :build_allow_git_fetch, :boolean, default: true, null: false + add_column :projects, :build_timeout, :integer, default: 3600, null: false + end +end |