SQLite: Implement migrations SQL generator

(I'm looking for feedback on a few of the TODOs.)
Currently I think it is required for add column as well, because the column can be later be made part of a key. And I think we already decided not to add anything to the operations to specify whether a column is key or not. We could separate the create table case but I am not sure it is worth doing.