Enable foreign key support in sqlite
update sqlite minversion