SQLite: Implement migrations SQL generator

(I'm looking for feedback on a few of the TODOs.)
Some databases (like SQLite, SQL Server Compact, and Firebird) don't support this from SQL.