diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-03-17 22:14:54 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-03-18 02:55:38 +0300 |
commit | abb77d0f6cec87455e7da13d6a977ac4b8f740f4 (patch) | |
tree | 86a0076eb4f8b370099883776b64964707473c48 /db/migrate/20160223192159_add_confidential_to_issues.rb | |
parent | abaf7ed2e58121cc44b39a779d02fd7da4541028 (diff) |
Add a confidential flag to issues
Diffstat (limited to 'db/migrate/20160223192159_add_confidential_to_issues.rb')
-rw-r--r-- | db/migrate/20160223192159_add_confidential_to_issues.rb | 6 |
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 |