mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +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)
|
|
;
|