diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-18 23:33:41 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-18 23:33:41 +0200 |
commit | b765a7958d5d8602d0f8cc3b23b07cfa4f304208 (patch) | |
tree | 412361c9ec0b838abc0cd38527e4d34991dc6be2 /db/migrate | |
parent | 112dc875ba325cfb0b223165c20d8424698e7791 (diff) | |
download | gitlab-ce-b765a7958d5d8602d0f8cc3b23b07cfa4f304208.tar.gz |
Move snippets to own tab as feature. Make it disabled for new projects by default
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20130318212250_add_snippets_to_features.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20130318212250_add_snippets_to_features.rb b/db/migrate/20130318212250_add_snippets_to_features.rb new file mode 100644 index 00000000000..ad0b4434c43 --- /dev/null +++ b/db/migrate/20130318212250_add_snippets_to_features.rb @@ -0,0 +1,5 @@ +class AddSnippetsToFeatures < ActiveRecord::Migration + def change + add_column :projects, :snippets_enabled, :boolean, null: false, default: true + end +end |