ALTER TABLE {$NAMESPACE}_almanac.almanac_device
  ADD isLocked BOOL NOT NULL;