Changes more errors to use the new ErrorCodes generator (#206)
Removes console.log(err) in sqlite DDL