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
c81d9adc
Commit
c81d9adc
authored
Apr 18, 2021
by
Andy Soiron
Committed by
Tiger Watson
Apr 18, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add instance_url to jira_connect_installations
parent
b0ec3d8a
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
43 additions
and
1 deletion
+43
-1
changelogs/unreleased/325280-add-instance_url-to-jira_connect_installations.yml
...325280-add-instance_url-to-jira_connect_installations.yml
+5
-0
db/migrate/20210412132736_add_instance_url_to_jira_connect_installations.rb
...2132736_add_instance_url_to_jira_connect_installations.rb
+16
-0
db/migrate/20210412132824_add_text_limit_to_jira_connect_installations_instance_url.rb
..._text_limit_to_jira_connect_installations_instance_url.rb
+17
-0
db/schema_migrations/20210412132736
db/schema_migrations/20210412132736
+1
-0
db/schema_migrations/20210412132824
db/schema_migrations/20210412132824
+1
-0
db/structure.sql
db/structure.sql
+3
-1
No files found.
changelogs/unreleased/325280-add-instance_url-to-jira_connect_installations.yml
0 → 100644
View file @
c81d9adc
---
title
:
Add instance_url column to the jira_connect_installations table
merge_request
:
59148
author
:
type
:
added
db/migrate/20210412132736_add_instance_url_to_jira_connect_installations.rb
0 → 100644
View file @
c81d9adc
# frozen_string_literal: true
class
AddInstanceUrlToJiraConnectInstallations
<
ActiveRecord
::
Migration
[
6.0
]
DOWNTIME
=
false
# rubocop:disable Migration/AddLimitToTextColumns
# limit is added in db/migrate/20210216163811_add_text_limit_to_jira_connect_installations_instance_url.rb
def
up
add_column
:jira_connect_installations
,
:instance_url
,
:text
end
# rubocop:enable Migration/AddLimitToTextColumns
def
down
remove_column
:jira_connect_installations
,
:instance_url
end
end
db/migrate/20210412132824_add_text_limit_to_jira_connect_installations_instance_url.rb
0 → 100644
View file @
c81d9adc
# frozen_string_literal: true
class
AddTextLimitToJiraConnectInstallationsInstanceUrl
<
ActiveRecord
::
Migration
[
6.0
]
include
Gitlab
::
Database
::
MigrationHelpers
DOWNTIME
=
false
disable_ddl_transaction!
def
up
add_text_limit
:jira_connect_installations
,
:instance_url
,
255
end
def
down
remove_text_limit
:jira_connect_installations
,
:instance_url
end
end
db/schema_migrations/20210412132736
0 → 100644
View file @
c81d9adc
fa3287ed845c2fa24c3c65825362b4393433e273a3e94ed454ef5cc3b373d8a3
\ No newline at end of file
db/schema_migrations/20210412132824
0 → 100644
View file @
c81d9adc
cb02cb38d6f050ac49ac2c963307da4543590cc5ebd50fbc2225c519f1c96849
\ No newline at end of file
db/structure.sql
View file @
c81d9adc
...
...
@@ -13857,7 +13857,9 @@ CREATE TABLE jira_connect_installations (
client_key character varying,
encrypted_shared_secret character varying,
encrypted_shared_secret_iv character varying,
base_url character varying
base_url character varying,
instance_url text,
CONSTRAINT check_4c6abed669 CHECK ((char_length(instance_url) <= 255))
);
CREATE SEQUENCE jira_connect_installations_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