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
fc9fbda2
Commit
fc9fbda2
authored
Jun 11, 2021
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reorder columns in running builds table for better alignment
parent
e844f5a5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
db/migrate/20210601123341_add_running_builds_table.rb
db/migrate/20210601123341_add_running_builds_table.rb
+1
-1
db/structure.sql
db/structure.sql
+2
-2
No files found.
db/migrate/20210601123341_add_running_builds_table.rb
View file @
fc9fbda2
...
@@ -6,8 +6,8 @@ class AddRunningBuildsTable < ActiveRecord::Migration[6.0]
...
@@ -6,8 +6,8 @@ class AddRunningBuildsTable < ActiveRecord::Migration[6.0]
t
.
references
:build
,
index:
{
unique:
true
},
null:
false
,
foreign_key:
{
to_table: :ci_builds
,
on_delete: :cascade
}
t
.
references
:build
,
index:
{
unique:
true
},
null:
false
,
foreign_key:
{
to_table: :ci_builds
,
on_delete: :cascade
}
t
.
references
:project
,
index:
true
,
null:
false
,
foreign_key:
{
on_delete: :cascade
}
t
.
references
:project
,
index:
true
,
null:
false
,
foreign_key:
{
on_delete: :cascade
}
t
.
references
:runner
,
index:
true
,
null:
false
,
foreign_key:
{
to_table: :ci_runners
,
on_delete: :cascade
}
t
.
references
:runner
,
index:
true
,
null:
false
,
foreign_key:
{
to_table: :ci_runners
,
on_delete: :cascade
}
t
.
integer
:runner_type
,
limit:
2
,
null:
false
t
.
datetime_with_timezone
:created_at
,
null:
false
,
default:
->
{
'NOW()'
}
t
.
datetime_with_timezone
:created_at
,
null:
false
,
default:
->
{
'NOW()'
}
t
.
integer
:runner_type
,
limit:
2
,
null:
false
end
end
end
end
...
...
db/structure.sql
View file @
fc9fbda2
...
@@ -11156,8 +11156,8 @@ CREATE TABLE ci_running_builds (
...
@@ -11156,8 +11156,8 @@ CREATE TABLE ci_running_builds (
build_id bigint NOT NULL,
build_id bigint NOT NULL,
project_id bigint NOT NULL,
project_id bigint NOT NULL,
runner_id bigint NOT NULL,
runner_id bigint NOT NULL,
runner_type smallint
NOT NULL,
created_at timestamp with time zone DEFAULT now()
NOT NULL,
created_at timestamp with time zone DEFAULT now()
NOT NULL
runner_type smallint
NOT NULL
);
);
CREATE SEQUENCE ci_running_builds_id_seq
CREATE SEQUENCE ci_running_builds_id_seq
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