Failed to execute: Unknown column 'isLocked' in 'where clause'