#22340  -- Moved more DDL to schema editors

This series of commit move part of DatabaseCreation work to schema editors. The main achievement here is to make migrate use schema editor for syncing unmigrated apps.