summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-03-17 16:14:54 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-03-17 20:55:38 -0300
commitabb77d0f6cec87455e7da13d6a977ac4b8f740f4 (patch)
tree86a0076eb4f8b370099883776b64964707473c48 /db/migrate
parentabaf7ed2e58121cc44b39a779d02fd7da4541028 (diff)
downloadgitlab-ce-abb77d0f6cec87455e7da13d6a977ac4b8f740f4.tar.gz
Add a confidential flag to issues
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20160223192159_add_confidential_to_issues.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20160223192159_add_confidential_to_issues.rb b/db/migrate/20160223192159_add_confidential_to_issues.rb
new file mode 100644
index 00000000000..e9d47fd589a
--- /dev/null
+++ b/db/migrate/20160223192159_add_confidential_to_issues.rb
@@ -0,0 +1,6 @@
+class AddConfidentialToIssues < ActiveRecord::Migration
+ def change
+ add_column :issues, :confidential, :boolean, default: false
+ add_index :issues, :confidential
+ end
+end