Clean demofile for v10
This commit is contained in:
parent
d3d0ce4649
commit
8ef7a3abf2
11327
dev/initdemo/mysqldump_dolibarr_10.0.0.sql
Normal file
11327
dev/initdemo/mysqldump_dolibarr_10.0.0.sql
Normal file
File diff suppressed because one or more lines are too long
@ -176,10 +176,61 @@ export list="
|
|||||||
--ignore-table=$base.llx_advanced_extrafields
|
--ignore-table=$base.llx_advanced_extrafields
|
||||||
--ignore-table=$base.llx_advanced_extrafields_options
|
--ignore-table=$base.llx_advanced_extrafields_options
|
||||||
--ignore-table=$base.llx_advanced_extrafields_values
|
--ignore-table=$base.llx_advanced_extrafields_values
|
||||||
|
--ignore-table=$base.llx_agefodd_calendrier
|
||||||
|
--ignore-table=$base.llx_agefodd_certif_state
|
||||||
|
--ignore-table=$base.llx_agefodd_certificate_type
|
||||||
|
--ignore-table=$base.llx_agefodd_contact
|
||||||
|
--ignore-table=$base.llx_agefodd_convention
|
||||||
|
--ignore-table=$base.llx_agefodd_convention_stagiaire
|
||||||
|
--ignore-table=$base.llx_agefodd_cursus
|
||||||
|
--ignore-table=$base.llx_agefodd_cursus_extrafields
|
||||||
|
--ignore-table=$base.llx_agefodd_formateur
|
||||||
|
--ignore-table=$base.llx_agefodd_formateur_category
|
||||||
|
--ignore-table=$base.llx_agefodd_formateur_category_dict
|
||||||
|
--ignore-table=$base.llx_agefodd_formateur_training
|
||||||
|
--ignore-table=$base.llx_agefodd_formateur_type
|
||||||
|
--ignore-table=$base.llx_agefodd_formation_catalogue
|
||||||
|
--ignore-table=$base.llx_agefodd_formation_catalogue_extrafields
|
||||||
|
--ignore-table=$base.llx_agefodd_formation_catalogue_modules
|
||||||
|
--ignore-table=$base.llx_agefodd_formation_catalogue_type
|
||||||
|
--ignore-table=$base.llx_agefodd_formation_catalogue_type_bpf
|
||||||
|
--ignore-table=$base.llx_agefodd_formation_cursus
|
||||||
|
--ignore-table=$base.llx_agefodd_formation_objectifs_peda
|
||||||
|
--ignore-table=$base.llx_agefodd_opca
|
||||||
|
--ignore-table=$base.llx_agefodd_place
|
||||||
|
--ignore-table=$base.llx_agefodd_reg_interieur
|
||||||
|
--ignore-table=$base.llx_agefodd_session
|
||||||
|
--ignore-table=$base.llx_agefodd_session_adminsitu
|
||||||
|
--ignore-table=$base.llx_agefodd_session_admlevel
|
||||||
|
--ignore-table=$base.llx_agefodd_session_calendrier
|
||||||
|
--ignore-table=$base.llx_agefodd_session_commercial
|
||||||
|
--ignore-table=$base.llx_agefodd_session_contact
|
||||||
|
--ignore-table=$base.llx_agefodd_session_element
|
||||||
|
--ignore-table=$base.llx_agefodd_session_extrafields
|
||||||
|
--ignore-table=$base.llx_agefodd_session_formateur
|
||||||
|
--ignore-table=$base.llx_agefodd_session_formateur_calendrier
|
||||||
|
--ignore-table=$base.llx_agefodd_session_stagiaire
|
||||||
|
--ignore-table=$base.llx_agefodd_session_stagiaire_heures
|
||||||
|
--ignore-table=$base.llx_agefodd_session_status_type
|
||||||
|
--ignore-table=$base.llx_agefodd_stagiaire
|
||||||
|
--ignore-table=$base.llx_agefodd_stagiaire_certif
|
||||||
|
--ignore-table=$base.llx_agefodd_stagiaire_cursus
|
||||||
|
--ignore-table=$base.llx_agefodd_stagiaire_extrafields
|
||||||
|
--ignore-table=$base.llx_agefodd_stagiaire_type
|
||||||
|
--ignore-table=$base.llx_agefodd_training_admlevel
|
||||||
--ignore-table=$base.llx_askpricesupplier
|
--ignore-table=$base.llx_askpricesupplier
|
||||||
--ignore-table=$base.llx_askpricesupplier_extrafields
|
--ignore-table=$base.llx_askpricesupplier_extrafields
|
||||||
--ignore-table=$base.llx_askpricesupplierdet
|
--ignore-table=$base.llx_askpricesupplierdet
|
||||||
--ignore-table=$base.llx_askpricesupplierdet_extrafields
|
--ignore-table=$base.llx_askpricesupplierdet_extrafields
|
||||||
|
--ignore-table=$base.llx_assetOf
|
||||||
|
--ignore-table=$base.llx_assetOf_line
|
||||||
|
--ignore-table=$base.llx_asset_workstation_of
|
||||||
|
--ignore-table=$base.llx_asset_workstation_product
|
||||||
|
--ignore-table=$base.llx_asset_workstation_task
|
||||||
|
--ignore-table=$base.llx_assetof_amounts
|
||||||
|
--ignore-table=$base.llx_asset_workstation_of
|
||||||
|
--ignore-table=$base.llx_asset_workstation_of
|
||||||
|
--ignore-table=$base.llx_asset_workstation_of
|
||||||
--ignore-table=$base.llx_bookkeeping
|
--ignore-table=$base.llx_bookkeeping
|
||||||
--ignore-table=$base.llx_bootstrap
|
--ignore-table=$base.llx_bootstrap
|
||||||
--ignore-table=$base.llx_bt_namemap
|
--ignore-table=$base.llx_bt_namemap
|
||||||
@ -226,15 +277,28 @@ export list="
|
|||||||
--ignore-table=$base.llx_ecommerce_site
|
--ignore-table=$base.llx_ecommerce_site
|
||||||
--ignore-table=$base.llx_ecommerce_societe
|
--ignore-table=$base.llx_ecommerce_societe
|
||||||
--ignore-table=$base.llx_ecommerce_socpeople
|
--ignore-table=$base.llx_ecommerce_socpeople
|
||||||
--ignore-table=$base.llx_element_rang
|
--ignore-table=$base.llx_element_rang
|
||||||
|
--ignore-table=$base.llx_element_tag
|
||||||
|
--ignore-table=$base.llx_eleves
|
||||||
|
--ignore-table=$base.llx_eleves_extrafields
|
||||||
--ignore-table=$base.llx_entity
|
--ignore-table=$base.llx_entity
|
||||||
|
--ignore-table=$base.llx_entity_extrafields
|
||||||
|
--ignore-table=$base.llx_entity_thirdparty
|
||||||
|
--ignore-table=$base.llx_equipement_factory
|
||||||
|
--ignore-table=$base.llx_factory
|
||||||
|
--ignore-table=$base.llx_factory_extrafields
|
||||||
|
--ignore-table=$base.llx_factorydet
|
||||||
--ignore-table=$base.llx_filemanager_roots
|
--ignore-table=$base.llx_filemanager_roots
|
||||||
--ignore-table=$base.llx_fournisseur_ca
|
--ignore-table=$base.llx_fournisseur_ca
|
||||||
--ignore-table=$base.llx_google_maps
|
--ignore-table=$base.llx_google_maps
|
||||||
|
--ignore-table=$base.llx_lead
|
||||||
|
--ignore-table=$base.llx_lead_extrafields
|
||||||
|
--ignore-table=$base.llx_milestone
|
||||||
--ignore-table=$base.llx_milestone
|
--ignore-table=$base.llx_milestone
|
||||||
--ignore-table=$base.llx_monitoring_probes
|
--ignore-table=$base.llx_monitoring_probes
|
||||||
--ignore-table=$base.llx_m
|
--ignore-table=$base.llx_m
|
||||||
--ignore-table=$base.llx_m_extrafields
|
--ignore-table=$base.llx_m_extrafields
|
||||||
|
--ignore-table=$base.llx_monmodule_abcdef
|
||||||
--ignore-table=$base.llx_notes
|
--ignore-table=$base.llx_notes
|
||||||
--ignore-table=$base.llx_pos_cash
|
--ignore-table=$base.llx_pos_cash
|
||||||
--ignore-table=$base.llx_pos_control_cash
|
--ignore-table=$base.llx_pos_control_cash
|
||||||
@ -256,6 +320,9 @@ export list="
|
|||||||
--ignore-table=$base.llx_ultimatepdf
|
--ignore-table=$base.llx_ultimatepdf
|
||||||
--ignore-table=$base.llx_update_modules
|
--ignore-table=$base.llx_update_modules
|
||||||
--ignore-table=$base.llx_ventilation_achat
|
--ignore-table=$base.llx_ventilation_achat
|
||||||
|
--ignore-table=$base.tmp_llx_accouting_account
|
||||||
|
--ignore-table=$base.tmp_llx_product_batch
|
||||||
|
--ignore-table=$base.tmp_llx_product_batch2
|
||||||
"
|
"
|
||||||
echo "mysqldump -P$port -u$admin -p***** $list $base > $mydir/$dumpfile"
|
echo "mysqldump -P$port -u$admin -p***** $list $base > $mydir/$dumpfile"
|
||||||
mysqldump -P$port -u$admin $passwd $list $base > $mydir/$dumpfile
|
mysqldump -P$port -u$admin $passwd $list $base > $mydir/$dumpfile
|
||||||
|
|||||||
@ -1049,16 +1049,16 @@ if ($ok && GETPOST('force_disable_of_modules_not_found', 'alpha'))
|
|||||||
print ' - File of '.$key.' ('.$reloffile.') NOT found, we disable the module.';
|
print ' - File of '.$key.' ('.$reloffile.') NOT found, we disable the module.';
|
||||||
if (GETPOST('force_disable_of_modules_not_found') == 'confirmed')
|
if (GETPOST('force_disable_of_modules_not_found') == 'confirmed')
|
||||||
{
|
{
|
||||||
$sql2 ="DELETE FROM ".MAIN_DB_PREFIX."const WHERE name 'MAIN_MODULE_".strtoupper($name)."_".strtoupper($key)."'";
|
$sql2 ="DELETE FROM ".MAIN_DB_PREFIX."const WHERE name = 'MAIN_MODULE_".strtoupper($name)."_".strtoupper($key)."'";
|
||||||
$resql2=$db->query($sql2);
|
$resql2=$db->query($sql2);
|
||||||
if (! $resql2)
|
if (! $resql2)
|
||||||
{
|
{
|
||||||
$error++;
|
$error++;
|
||||||
dol_print_error($db);
|
dol_print_error($db);
|
||||||
}
|
}
|
||||||
$sql2 ="DELETE FROM ".MAIN_DB_PREFIX."const WHERE name = 'MAIN_MODULE_".strtoupper($name)."'";
|
$sql3 ="DELETE FROM ".MAIN_DB_PREFIX."const WHERE name = 'MAIN_MODULE_".strtoupper($name)."'";
|
||||||
$resql2=$db->query($sql2);
|
$resql3=$db->query($sql3);
|
||||||
if (! $resql2)
|
if (! $resql3)
|
||||||
{
|
{
|
||||||
$error++;
|
$error++;
|
||||||
dol_print_error($db);
|
dol_print_error($db);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user