[SW] Bug 940273 Create tables and set schema version transactionally.  Set pragmas.