Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
nexedi
gitlab-ce
Commits
86c84fc4
Unverified
Commit
86c84fc4
authored
3 years ago
by
Matija Čupić
Browse files
Options
Download
Email Patches
Plain Diff
Create DotEnv application limits
parent
2143d854
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
db/migrate/20211105160316_create_dotenv_application_limits.rb
...igrate/20211105160316_create_dotenv_application_limits.rb
+8
-0
db/schema_migrations/20211105160316
db/schema_migrations/20211105160316
+1
-0
db/structure.sql
db/structure.sql
+3
-1
No files found.
db/migrate/20211105160316_create_dotenv_application_limits.rb
0 → 100644
View file @
86c84fc4
# frozen_string_literal: true
class
CreateDotenvApplicationLimits
<
Gitlab
::
Database
::
Migration
[
1.0
]
def
change
add_column
(
:plan_limits
,
:dotenv_variables
,
:integer
,
default:
20
,
null:
false
)
add_column
(
:plan_limits
,
:dotenv_size
,
:integer
,
default:
5
.
kilobytes
,
null:
false
)
end
end
This diff is collapsed.
Click to expand it.
db/schema_migrations/20211105160316
0 → 100644
View file @
86c84fc4
afb9552a4104b10b25d65a9fec478c5c28a31ec31402400554db4288033bacb6
\ No newline at end of file
This diff is collapsed.
Click to expand it.
db/structure.sql
View file @
86c84fc4
...
...
@@ -17580,7 +17580,9 @@ CREATE TABLE plan_limits (
ci_jobs_trace_size_limit integer DEFAULT 100 NOT NULL,
pages_file_entries integer DEFAULT 200000 NOT NULL,
dast_profile_schedules integer DEFAULT 1 NOT NULL,
external_audit_event_destinations integer DEFAULT 5 NOT NULL
external_audit_event_destinations integer DEFAULT 5 NOT NULL,
dotenv_variables integer DEFAULT 20 NOT NULL,
dotenv_size integer DEFAULT 5120 NOT NULL
);
CREATE SEQUENCE plan_limits_id_seq
This diff is collapsed.
Click to expand it.
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