Fix wp-resource.template db creation