Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14346

use CASCADING DELETE with SQLITE

$
0
0
Hi,

im using CodeIgniter with a SQLite-Database.

I have many tables which have many relations to each other. They are defined with some FOREIGN KEYS and CASCADING Delete and so on.

However, I created the database with "SQLiteStudio". There when im deleting a record, the related record is deleted, too (as it suposed to be).

But when Im using CodeIgniter to delete a record, the "cascade delete"-function does not work !!!

Whats the matter?! Is there a config-option for this in code-igniter ???

Didnt find anything about this problem somewhere else (and that suprised me as well).


Hope somebody can help me.

Viewing all articles
Browse latest Browse all 14346

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>