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
bfed2311
Commit
bfed2311
authored
May 22, 2019
by
Thong Kuah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Postmigrate to drop domain column
Now that the column is ignored, we can safely drop the column
parent
851321f7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletion
+16
-1
changelogs/unreleased/56959-drop-project_auto_devops_domain.yml
...logs/unreleased/56959-drop-project_auto_devops_domain.yml
+5
-0
db/post_migrate/20190522143720_drop_project_auto_devops_domain.rb
...migrate/20190522143720_drop_project_auto_devops_domain.rb
+11
-0
db/schema.rb
db/schema.rb
+0
-1
No files found.
changelogs/unreleased/56959-drop-project_auto_devops_domain.yml
0 → 100644
View file @
bfed2311
---
title
:
Removes project_auto_devops#domain column
merge_request
:
28574
author
:
type
:
other
db/post_migrate/20190522143720_drop_project_auto_devops_domain.rb
0 → 100644
View file @
bfed2311
# frozen_string_literal: true
class
DropProjectAutoDevopsDomain
<
ActiveRecord
::
Migration
[
5.1
]
include
Gitlab
::
Database
::
MigrationHelpers
DOWNTIME
=
false
def
change
remove_column
:project_auto_devops
,
:domain
,
:string
end
end
db/schema.rb
View file @
bfed2311
...
...
@@ -1632,7 +1632,6 @@ ActiveRecord::Schema.define(version: 20190527194900) do
t
.
datetime_with_timezone
"created_at"
,
null:
false
t
.
datetime_with_timezone
"updated_at"
,
null:
false
t
.
boolean
"enabled"
t
.
string
"domain"
t
.
integer
"deploy_strategy"
,
default:
0
,
null:
false
t
.
index
[
"project_id"
],
name:
"index_project_auto_devops_on_project_id"
,
unique:
true
,
using: :btree
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