better support for sqlites inability to update tables

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
A line I always seems to forget

Signed-off-by: Alexander Skjolden <alex@plastboks.net>