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
ea023138
Commit
ea023138
authored
Oct 06, 2017
by
Alessio Caiazza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Repack migration correctly
parent
91f8e734
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
3 deletions
+3
-3
db/migrate/20171006090001_create_ci_build_trace_sections.rb
db/migrate/20171006090001_create_ci_build_trace_sections.rb
+1
-1
db/migrate/20171006090010_add_build_foreign_key_to_ci_build_trace_sections.rb
...90010_add_build_foreign_key_to_ci_build_trace_sections.rb
+0
-0
db/migrate/20171006090100_create_ci_build_trace_section_names.rb
...ate/20171006090100_create_ci_build_trace_section_names.rb
+0
-0
db/migrate/20171006091000_add_name_foreign_key_to_ci_build_trace_sections.rb
...091000_add_name_foreign_key_to_ci_build_trace_sections.rb
+0
-0
db/schema.rb
db/schema.rb
+2
-2
No files found.
db/migrate/2017
09261022
01_create_ci_build_trace_sections.rb
→
db/migrate/2017
10060900
01_create_ci_build_trace_sections.rb
View file @
ea023138
...
...
@@ -5,11 +5,11 @@ class CreateCiBuildTraceSections < ActiveRecord::Migration
def
change
create_table
:ci_build_trace_sections
do
|
t
|
t
.
references
:project
,
null:
false
,
index:
true
,
foreign_key:
{
on_delete: :cascade
}
t
.
datetime_with_timezone
:date_start
,
null:
false
t
.
datetime_with_timezone
:date_end
,
null:
false
t
.
integer
:byte_start
,
limit:
8
,
null:
false
t
.
integer
:byte_end
,
limit:
8
,
null:
false
t
.
references
:project
,
null:
false
,
index:
true
,
foreign_key:
{
on_delete: :cascade
}
t
.
integer
:build_id
,
null:
false
t
.
integer
:section_name_id
,
null:
false
end
...
...
db/migrate/2017
0926134436
_add_build_foreign_key_to_ci_build_trace_sections.rb
→
db/migrate/2017
1006090010
_add_build_foreign_key_to_ci_build_trace_sections.rb
View file @
ea023138
File moved
db/migrate/2017
0929123651
_create_ci_build_trace_section_names.rb
→
db/migrate/2017
1006090100
_create_ci_build_trace_section_names.rb
View file @
ea023138
File moved
db/migrate/2017
0929123915
_add_name_foreign_key_to_ci_build_trace_sections.rb
→
db/migrate/2017
1006091000
_add_name_foreign_key_to_ci_build_trace_sections.rb
View file @
ea023138
File moved
db/schema.rb
View file @
ea023138
...
...
@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord
::
Schema
.
define
(
version:
2017100
4121444
)
do
ActiveRecord
::
Schema
.
define
(
version:
2017100
6091000
)
do
# These are extensions that must be enabled in order to support this database
enable_extension
"plpgsql"
...
...
@@ -215,11 +215,11 @@ ActiveRecord::Schema.define(version: 20171004121444) do
add_index
"ci_build_trace_section_names"
,
[
"project_id"
,
"name"
],
name:
"index_ci_build_trace_section_names_on_project_id_and_name"
,
unique:
true
,
using: :btree
create_table
"ci_build_trace_sections"
,
force: :cascade
do
|
t
|
t
.
integer
"project_id"
,
null:
false
t
.
datetime_with_timezone
"date_start"
,
null:
false
t
.
datetime_with_timezone
"date_end"
,
null:
false
t
.
integer
"byte_start"
,
limit:
8
,
null:
false
t
.
integer
"byte_end"
,
limit:
8
,
null:
false
t
.
integer
"project_id"
,
null:
false
t
.
integer
"build_id"
,
null:
false
t
.
integer
"section_name_id"
,
null:
false
end
...
...
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