mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
15 lines
301 B
SQL
15 lines
301 B
SQL
ALTER TABLE remote ADD COLUMN remotesudo;
|
|
|
|
UPDATE remote
|
|
SET remotesudo = 1
|
|
WHERE json_extract(sshopts, '$.issudo')
|
|
;
|
|
|
|
UPDATE remote
|
|
SET sshopts = json_remove(sshopts, '$.issudo')
|
|
;
|
|
|
|
ALTER TABLE remote ADD COLUMN physicalid varchar(36) NOT NULL DEFAULT '';
|
|
|
|
ALTER TABLE remote DROP COLUMN openaiopts;
|