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
407b029f
Commit
407b029f
authored
Mar 17, 2021
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab master
parents
1c3df8e8
babc2fe7
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
42 additions
and
3 deletions
+42
-3
changelogs/unreleased/migration-add-trial-extension-type-to-gitlab-subscriptions.yml
...tion-add-trial-extension-type-to-gitlab-subscriptions.yml
+5
-0
db/migrate/20210316094047_add_trial_extension_type_to_gitlab_subscription_histories.rb
..._trial_extension_type_to_gitlab_subscription_histories.rb
+9
-0
db/migrate/20210316094323_add_trial_extension_type_to_gitlab_subscriptions.rb
...94323_add_trial_extension_type_to_gitlab_subscriptions.rb
+21
-0
db/schema_migrations/20210316094047
db/schema_migrations/20210316094047
+1
-0
db/schema_migrations/20210316094323
db/schema_migrations/20210316094323
+1
-0
db/structure.sql
db/structure.sql
+4
-2
doc/user/project/merge_requests/code_quality.md
doc/user/project/merge_requests/code_quality.md
+1
-1
No files found.
changelogs/unreleased/migration-add-trial-extension-type-to-gitlab-subscriptions.yml
0 → 100644
View file @
407b029f
---
title
:
'
Migration:
add
trial
extension
type
to
gitlab_subscription'
merge_request
:
56460
author
:
type
:
added
db/migrate/20210316094047_add_trial_extension_type_to_gitlab_subscription_histories.rb
0 → 100644
View file @
407b029f
# frozen_string_literal: true
class
AddTrialExtensionTypeToGitlabSubscriptionHistories
<
ActiveRecord
::
Migration
[
6.0
]
DOWNTIME
=
false
def
change
add_column
:gitlab_subscription_histories
,
:trial_extension_type
,
:smallint
end
end
db/migrate/20210316094323_add_trial_extension_type_to_gitlab_subscriptions.rb
0 → 100644
View file @
407b029f
# frozen_string_literal: true
class
AddTrialExtensionTypeToGitlabSubscriptions
<
ActiveRecord
::
Migration
[
6.0
]
include
Gitlab
::
Database
::
MigrationHelpers
DOWNTIME
=
false
disable_ddl_transaction!
def
up
with_lock_retries
do
add_column
:gitlab_subscriptions
,
:trial_extension_type
,
:smallint
end
end
def
down
with_lock_retries
do
remove_column
:gitlab_subscriptions
,
:trial_extension_type
end
end
end
db/schema_migrations/20210316094047
0 → 100644
View file @
407b029f
208df71aa7c2dc447ea8f63ca8cc02344a78bd739c7a0e9457c665bfb831a879
\ No newline at end of file
db/schema_migrations/20210316094323
0 → 100644
View file @
407b029f
e1d83121dd3bd1a608626910a8238546816870f6f36840d96b2b4ac3415af985
\ No newline at end of file
db/structure.sql
View file @
407b029f
...
...
@@ -13051,7 +13051,8 @@ CREATE TABLE gitlab_subscription_histories (
gitlab_subscription_id bigint NOT NULL,
created_at timestamp with time zone,
trial_starts_on date,
auto_renew boolean
auto_renew boolean,
trial_extension_type smallint
);
CREATE SEQUENCE gitlab_subscription_histories_id_seq
...
...
@@ -13078,7 +13079,8 @@ CREATE TABLE gitlab_subscriptions (
trial_starts_on date,
auto_renew boolean,
seats_in_use integer DEFAULT 0 NOT NULL,
seats_owed integer DEFAULT 0 NOT NULL
seats_owed integer DEFAULT 0 NOT NULL,
trial_extension_type smallint
);
CREATE SEQUENCE gitlab_subscriptions_id_seq
doc/user/project/merge_requests/code_quality.md
View file @
407b029f
...
...
@@ -15,7 +15,7 @@ source code quality using GitLab Code Quality.
Code Quality:
-
Uses
[
Code Climate Engines
](
https://codeclimate.com
)
, which are
-
Uses
[
Engines
](
https://docs.codeclimate.com/docs/list-of-engines
)
supported by Code Climate
, which are
free and open source. Code Quality does not require a Code Climate
subscription.
-
Runs in
[
pipelines
](
../../../ci/pipelines/index.md
)
using a Docker image built in the
...
...
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