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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew8xx8 <avk@8xx8.ru>2013-03-23 22:14:37 +0400
committerAndrew8xx8 <avk@8xx8.ru>2013-03-23 22:14:37 +0400
commitcc869d5dc101ea1175e308d8532064f06072d08b (patch)
tree3f8e602abc18a95fbefc479710b37e203c903fc4 /db/migrate/20130323174317_add_private_to_snippets.rb
parent77faffbda3e6d26329b140b0a38f71dcdb9aa381 (diff)
Private field added to snippet
Diffstat (limited to 'db/migrate/20130323174317_add_private_to_snippets.rb')
-rw-r--r--db/migrate/20130323174317_add_private_to_snippets.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20130323174317_add_private_to_snippets.rb b/db/migrate/20130323174317_add_private_to_snippets.rb
new file mode 100644
index 00000000000..427b530464d
--- /dev/null
+++ b/db/migrate/20130323174317_add_private_to_snippets.rb
@@ -0,0 +1,5 @@
+class AddPrivateToSnippets < ActiveRecord::Migration
+ def change
+ add_column :snippets, :private, :boolean
+ end
+end