![]() |
11-20-2023, 11:01 AM
(This post was last modified: 11-20-2023, 01:58 PM by grimpirate. Edit Reason: Switching title to [SOLVED] ) Code: /var/www/localhost/htdocs/sub # php spark db:seed FormulaSeeder This exception is thrown via CLI which appears to be prompted by my use of insertBatch method and the inclusion of 'content_4_id' into the third row (the column exists in the table and is nullable). I know this because I ran the seeder without the third row and it processed successfully. However, when I change my code (as a workaround) with individual insert methods, no exception is thrown. Is this a bug in the CodeIgniter system code? MALFUNCTIONING FormulaSeeder.php PHP Code: <?php WORKAROUND FormulaSeeder.php PHP Code: <?php |
Messages In This Thread |
[SOLVED] SQLite3 Error - by grimpirate - 11-20-2023, 11:01 AM
RE: SQLite3 Error - by sclubricants - 11-20-2023, 01:01 PM
RE: SQLite3 Error - by sclubricants - 11-20-2023, 01:08 PM
RE: SQLite3 Error - by grimpirate - 11-20-2023, 01:57 PM
|