You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tryed to port the DB to SQLite3. I've got the app, up & running, can create galleries, upload new photos and everything seems all right but when I try to delete a photo, or an entire gallery, I get the following error :
ActiveRecord::StatementInvalid (SQLite3::SQLException: gallery_photos.position may not be NULL: UPDATE "gallery_photos" SET "updated_at" = '2010-05-30 14:36:58', "position" = NULL WHERE "id" = 29):
( I really didn't try the same with MySQL (I've not that possibility), so I don't know if it fail too or is just SQLite3 )
Does you have any suggestion ?
Thanks in advance
Luca G. Soave
The text was updated successfully, but these errors were encountered:
Ok, I've finally been able to have a MySQL env where to test the same deploy as before ... I can say that with MySQL, everithing is all right. No errors deleting galleries or photos. That's just an SQLite3 issue, if someone wold like to dig into, please let us know!
I just tryed to port the DB to SQLite3. I've got the app, up & running, can create galleries, upload new photos and everything seems all right but when I try to delete a photo, or an entire gallery, I get the following error :
ActiveRecord::StatementInvalid (SQLite3::SQLException: gallery_photos.position may not be NULL: UPDATE "gallery_photos" SET "updated_at" = '2010-05-30 14:36:58', "position" = NULL WHERE "id" = 29):
( I really didn't try the same with MySQL (I've not that possibility), so I don't know if it fail too or is just SQLite3 )
Does you have any suggestion ?
Thanks in advance
Luca G. Soave
The text was updated successfully, but these errors were encountered: