function beginSchemaUpdate() { $this->pragma('locking_mode', 'EXCLUSIVE'); $this->checkAndRepairTable(); // if($this->TableExists('SQLiteEnums')) $this->query("DELETE FROM SQLiteEnums"); $this->checkAndRepairTable(); parent::beginSchemaUpdate(); }