Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
7fbd5177
"backend/git@web.lueluesay.top:chenxi/sub2api.git" did not exist on "89d09838d84625eb63d17d8c34abda8364e730e3"
Commit
7fbd5177
authored
Apr 22, 2026
by
IanShaw027
Browse files
fix(ci): make legacy migration cleanup resilient
parent
fdf72eb5
Changes
1
Show whitespace changes
Inline
Side-by-side
backend/internal/repository/auth_identity_legacy_migration_integration_test.go
View file @
7fbd5177
...
@@ -43,7 +43,7 @@ CREATE TABLE IF NOT EXISTS user_external_identities (
...
@@ -43,7 +43,7 @@ CREATE TABLE IF NOT EXISTS user_external_identities (
auth_identity_migration_reports,
auth_identity_migration_reports,
user_external_identities,
user_external_identities,
users
users
RESTART IDENTITY;
RESTART IDENTITY
CASCADE
;
`
)
`
)
require
.
NoError
(
t
,
err
)
require
.
NoError
(
t
,
err
)
...
@@ -241,7 +241,7 @@ TRUNCATE TABLE
...
@@ -241,7 +241,7 @@ TRUNCATE TABLE
auth_identity_migration_reports,
auth_identity_migration_reports,
user_external_identities,
user_external_identities,
users
users
RESTART IDENTITY;
RESTART IDENTITY
CASCADE
;
`
)
`
)
require
.
NoError
(
t
,
err
)
require
.
NoError
(
t
,
err
)
...
@@ -431,7 +431,7 @@ CREATE TABLE IF NOT EXISTS user_external_identities (
...
@@ -431,7 +431,7 @@ CREATE TABLE IF NOT EXISTS user_external_identities (
auth_identity_migration_reports,
auth_identity_migration_reports,
user_external_identities,
user_external_identities,
users
users
RESTART IDENTITY;
RESTART IDENTITY
CASCADE
;
`
)
`
)
require
.
NoError
(
t
,
err
)
require
.
NoError
(
t
,
err
)
...
...
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