-- Add build_no and floor_no to room_lock_mappings
-- Required by CE_WriteCard(hotelInfo, buildNo, floorNo, mac, endTime, allowLockOut)
ALTER TABLE room_lock_mappings
  ADD COLUMN IF NOT EXISTS build_no INTEGER NOT NULL DEFAULT 1,
  ADD COLUMN IF NOT EXISTS floor_no INTEGER NOT NULL DEFAULT 1;
