Updates Model.sync() to use keys instead of id on all drivers
Fixes sqlite DDL when using one primary key