clean up device layers
This commit is contained in:
@@ -4,4 +4,8 @@ ALTER TABLE users ADD COLUMN "radius" boolean DEFAULT false;
|
||||
|
||||
UPDATE device SET layers = NULL WHERE vendor = 'netdisco';
|
||||
|
||||
UPDATE device SET layers = '00000000' WHERE layers IS NULL;
|
||||
|
||||
ALTER TABLE device ALTER layers SET DEFAULT '00000000';
|
||||
|
||||
COMMIT;
|
||||
|
||||
Reference in New Issue
Block a user