Added cloning to the database model and methods needed to keep it up to date as migration operations are processed by the SQL generator.

Added SqlOperation to migrations model.