mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-08 19:38:51 +01:00
12 lines
250 B
MySQL
12 lines
250 B
MySQL
|
UPDATE remote
|
||
|
SET sshopts = json_set(sshopts, '$.issudo', json('true'))
|
||
|
WHERE remotesudo
|
||
|
;
|
||
|
|
||
|
ALTER TABLE remote DROP COLUMN remotesudo;
|
||
|
|
||
|
ALTER TABLE remote DROP COLUMN physicalid;
|
||
|
|
||
|
ALTER TABLE remote ADD COLUMN openaiopts json NOT NULL DEFAULT '{}';
|
||
|
|