Production version.
Adds SQL for new tables.