mod create_twdb.sql