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
8f7ac1ea
Commit
8f7ac1ea
authored
Apr 17, 2026
by
陈曦
Browse files
migration test ddl upgrade
parent
09f45cb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/migration_refuse_oauth/refuse_oauth.sql
View file @
8f7ac1ea
-- 在测试库执行完migration_release之后,执行这个语句,阻止token刷新
-- 切记不可在生产库执行
UPDATE
accounts
SET
schedulable
=
false
,
credentials
=
NUll
WHERE
type
=
'oauth'
;
\ No newline at end of file
UPDATE
accounts
SET
schedulable
=
false
,
credentials
=
NUll
WHERE
type
=
'oauth'
;
-- 将代理置为不可用状态
update
proxies
set
status
=
'inactive'
where
status
=
'active'
;
\ No newline at end of file
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