Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e5370ba2
Commit
e5370ba2
authored
Feb 23, 2016
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a confidential flag to issues
parent
9843f9ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
db/migrate/20160223192159_add_confidential_to_issues.rb
db/migrate/20160223192159_add_confidential_to_issues.rb
+6
-0
db/schema.rb
db/schema.rb
+2
-0
No files found.
db/migrate/20160223192159_add_confidential_to_issues.rb
0 → 100644
View file @
e5370ba2
class
AddConfidentialToIssues
<
ActiveRecord
::
Migration
def
change
add_column
:issues
,
:confidential
,
:boolean
,
default:
false
add_index
:issues
,
:confidential
end
end
db/schema.rb
View file @
e5370ba2
...
...
@@ -486,10 +486,12 @@ ActiveRecord::Schema.define(version: 20160316124047) do
t
.
integer
"iid"
t
.
integer
"updated_by_id"
t
.
integer
"weight"
t
.
boolean
"confidential"
,
default:
false
end
add_index
"issues"
,
[
"assignee_id"
],
name:
"index_issues_on_assignee_id"
,
using: :btree
add_index
"issues"
,
[
"author_id"
],
name:
"index_issues_on_author_id"
,
using: :btree
add_index
"issues"
,
[
"confidential"
],
name:
"index_issues_on_confidential"
,
using: :btree
add_index
"issues"
,
[
"created_at"
,
"id"
],
name:
"index_issues_on_created_at_and_id"
,
using: :btree
add_index
"issues"
,
[
"created_at"
],
name:
"index_issues_on_created_at"
,
using: :btree
add_index
"issues"
,
[
"description"
],
name:
"index_issues_on_description_trigram"
,
using: :gin
,
opclasses:
{
"description"
=>
"gin_trgm_ops"
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment