patch for DB creation in multisite mode