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
df5b3737
Commit
df5b3737
authored
Nov 26, 2014
by
Marin Jankovski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add merge request rebase enabled column to projects table.
parent
ba8e9fac
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
11 deletions
+17
-11
db/migrate/20141126120926_add_merge_request_rebase_enabled_to_projects.rb
...126120926_add_merge_request_rebase_enabled_to_projects.rb
+5
-0
db/schema.rb
db/schema.rb
+12
-11
No files found.
db/migrate/20141126120926_add_merge_request_rebase_enabled_to_projects.rb
0 → 100644
View file @
df5b3737
class
AddMergeRequestRebaseEnabledToProjects
<
ActiveRecord
::
Migration
def
change
add_column
:projects
,
:merge_requests_rebase_enabled
,
:boolean
,
default:
false
end
end
db/schema.rb
View file @
df5b3737
...
...
@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord
::
Schema
.
define
(
version:
201411
18150935
)
do
ActiveRecord
::
Schema
.
define
(
version:
201411
26120926
)
do
# These are extensions that must be enabled in order to support this database
enable_extension
"plpgsql"
...
...
@@ -318,6 +318,7 @@ ActiveRecord::Schema.define(version: 20141118150935) do
t
.
float
"repository_size"
,
default:
0.0
t
.
integer
"star_count"
,
default:
0
,
null:
false
t
.
text
"merge_requests_template"
t
.
boolean
"merge_requests_rebase_enabled"
,
default:
false
end
add_index
"projects"
,
[
"creator_id"
],
name:
"index_projects_on_creator_id"
,
using: :btree
...
...
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