Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
server
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
m-team
oidc
mytoken
server
Commits
e2477e72
Verified
Commit
e2477e72
authored
2 years ago
by
Gabriel Zachmann
Browse files
Options
Downloads
Patches
Plain Diff
fix sql typo error
parent
19b91f1d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#323182
passed
2 years ago
Stage: build
Stage: test
Stage: lint
Stage: release
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
internal/db/dbmigrate/scripts/v0.7.0.pre.sql
+2
-4
2 additions, 4 deletions
internal/db/dbmigrate/scripts/v0.7.0.pre.sql
with
2 additions
and
4 deletions
internal/db/dbmigrate/scripts/v0.7.0.pre.sql
+
2
−
4
View file @
e2477e72
...
...
@@ -41,7 +41,6 @@ CREATE OR REPLACE PROCEDURE Cleanup_MTokens()
BEGIN
DELETE
FROM
MTokens
WHERE
DATE_ADD
(
expires_at
,
INTERVAL
1
MONTH
)
<
CURRENT_TIMESTAMP
();
END
;;
CREATE
OR
REPLACE
PROCEDURE
Cleanup_ProxyTokens
()
BEGIN
DELETE
...
...
@@ -57,8 +56,7 @@ BEGIN
FROM
MTokens
WHERE
user_id
=
UID
ORDER
BY
created
;
END
;
END
;;
CREATE
OR
REPLACE
PROCEDURE
MTokens_GetSubtokens
(
IN
MTID
VARCHAR
(
128
))
BEGIN
CREATE
TEMPORARY
TABLE
IF
NOT
EXISTS
effected_MTIDs
(
id
VARCHAR
(
128
));
...
...
@@ -80,7 +78,7 @@ BEGIN
(
SELECT
id
FROM
effected_MTIDs
);
DROP
TABLE
effected_MTIDs
;
END
;
END
;
;
DELIMITER
;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment