mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-03 18:47:56 +01:00
6 lines
160 B
MySQL
6 lines
160 B
MySQL
|
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)
|
||
|
;
|