tattersoftware / codeigniter4-audits

Lightweight object logging for CodeIgniter 4
MIT License
13 stars 6 forks source link

Change: SQLite3 support #2

Closed MGatner closed 4 years ago

MGatner commented 4 years ago

SQLite3 driver fails:

ErrorException: Undefined property: SQLite3::$insert_id
/var/www/project/vendor/tatter/audits/src/Traits/AuditsTrait.php:50

The connection doesn't support the insert_id property so needs to pull it form somewhere else: 'source_id' => $data['result']->connID->insert_id,