mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-23 16:58:27 +01:00
6 lines
160 B
SQL
6 lines
160 B
SQL
ALTER TABLE cmd ADD COLUMN screenid varchar(36) NOT NULL DEFAULT '';
|
|
|
|
UPDATE cmd
|
|
SET screenid = (SELECT line.screenid FROM line WHERE line.cmdid = cmd.cmdid)
|
|
;
|