Copy unique constraints when emulating alter_table operations on SQLite (Fixes #735)