Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts: htdocs/admin/system/database-tables.php
This commit is contained in:
commit
81cb5501bc
@ -114,7 +114,7 @@ if (!$base)
|
|||||||
print '<td>'.$obj->Engine.'</td>';
|
print '<td>'.$obj->Engine.'</td>';
|
||||||
if (isset($obj->Engine) && $obj->Engine == "MyISAM")
|
if (isset($obj->Engine) && $obj->Engine == "MyISAM")
|
||||||
{
|
{
|
||||||
print '<td><a class="reposition" href="database-tables.php?action=convert&table='.$obj->Name.'">'.$langs->trans("Convert").' InnoDB</a></td>';
|
print '<td><a class="reposition" href="database-tables.php?action=convert&table='.$obj->Name.'">'.$langs->trans("Convert").' InnoDb</a></td>';
|
||||||
} else {
|
} else {
|
||||||
print '<td> </td>';
|
print '<td> </td>';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -237,7 +237,8 @@ if (in_array($type, array('mysql', 'mysqli'))) {
|
|||||||
print '<input type="checkbox" name="sql_structure" value="structure" id="checkbox_sql_structure" checked />';
|
print '<input type="checkbox" name="sql_structure" value="structure" id="checkbox_sql_structure" checked />';
|
||||||
print '<label for="checkbox_sql_structure">'.$langs->trans('ExportStructure').'</label>';
|
print '<label for="checkbox_sql_structure">'.$langs->trans('ExportStructure').'</label>';
|
||||||
print '</legend>';
|
print '</legend>';
|
||||||
print '<input type="checkbox" name="drop"'.(((!isset($_GET["drop"]) && !isset($_POST["drop"])) || GETPOST('drop')) ? ' checked' : '').' id="checkbox_dump_drop" />';
|
|
||||||
|
print '<input type="checkbox" name="drop"'.((! GETPOSTISSET("drop") || GETPOST('drop')) ? ' checked' : '').' id="checkbox_dump_drop" />';
|
||||||
print '<label for="checkbox_dump_drop">'.$langs->trans("AddDropTable").'</label>';
|
print '<label for="checkbox_dump_drop">'.$langs->trans("AddDropTable").'</label>';
|
||||||
print '<br>';
|
print '<br>';
|
||||||
print '</fieldset>';
|
print '</fieldset>';
|
||||||
|
|||||||
@ -36,4 +36,4 @@ CREATE TABLE llx_c_format_cards
|
|||||||
custom_x double(24,8) NOT NULL,
|
custom_x double(24,8) NOT NULL,
|
||||||
custom_y double(24,8) NOT NULL,
|
custom_y double(24,8) NOT NULL,
|
||||||
active integer NOT NULL
|
active integer NOT NULL
|
||||||
) ENGINE=InnoDB;
|
) ENGINE=innodb;
|
||||||
|
|||||||
@ -38,5 +38,5 @@ CREATE TABLE llx_establishment (
|
|||||||
datec datetime NOT NULL,
|
datec datetime NOT NULL,
|
||||||
tms timestamp NOT NULL,
|
tms timestamp NOT NULL,
|
||||||
status tinyint DEFAULT 1
|
status tinyint DEFAULT 1
|
||||||
) ENGINE=InnoDB;
|
) ENGINE=innodb;
|
||||||
|
|
||||||
|
|||||||
@ -23,5 +23,5 @@ CREATE TABLE llx_expeditiondet_batch (
|
|||||||
batch varchar(128) DEFAULT NULL,
|
batch varchar(128) DEFAULT NULL,
|
||||||
qty double NOT NULL DEFAULT '0',
|
qty double NOT NULL DEFAULT '0',
|
||||||
fk_origin_stock integer NOT NULL
|
fk_origin_stock integer NOT NULL
|
||||||
) ENGINE=InnoDB;
|
) ENGINE=innodb;
|
||||||
|
|
||||||
|
|||||||
@ -31,4 +31,4 @@ CREATE TABLE llx_expensereport_rules (
|
|||||||
code_expense_rules_type varchar(50) NOT NULL,
|
code_expense_rules_type varchar(50) NOT NULL,
|
||||||
is_for_all tinyint DEFAULT 0,
|
is_for_all tinyint DEFAULT 0,
|
||||||
entity integer DEFAULT 1
|
entity integer DEFAULT 1
|
||||||
) ENGINE=InnoDB;
|
) ENGINE=innodb;
|
||||||
|
|||||||
@ -35,4 +35,4 @@ CREATE TABLE llx_inventory
|
|||||||
date_validation datetime DEFAULT NULL,
|
date_validation datetime DEFAULT NULL,
|
||||||
import_key varchar(14) -- import key
|
import_key varchar(14) -- import key
|
||||||
)
|
)
|
||||||
ENGINE=InnoDB;
|
ENGINE=innodb;
|
||||||
|
|||||||
@ -30,4 +30,4 @@ qty_stock double DEFAULT NULL, -- The targeted value. can be filled during dra
|
|||||||
qty_view double DEFAULT NULL, -- must be filled once regulation is done
|
qty_view double DEFAULT NULL, -- must be filled once regulation is done
|
||||||
qty_regulated double DEFAULT NULL -- must be filled once regulation is done
|
qty_regulated double DEFAULT NULL -- must be filled once regulation is done
|
||||||
)
|
)
|
||||||
ENGINE=InnoDB;
|
ENGINE=innodb;
|
||||||
|
|||||||
@ -22,4 +22,4 @@ CREATE TABLE llx_oauth_state (
|
|||||||
fk_user integer,
|
fk_user integer,
|
||||||
fk_adherent integer,
|
fk_adherent integer,
|
||||||
entity integer DEFAULT 1
|
entity integer DEFAULT 1
|
||||||
)ENGINE=InnoDB;
|
)ENGINE=innodb;
|
||||||
|
|||||||
@ -24,4 +24,4 @@ CREATE TABLE llx_oauth_token (
|
|||||||
fk_user integer,
|
fk_user integer,
|
||||||
fk_adherent integer,
|
fk_adherent integer,
|
||||||
entity integer DEFAULT 1
|
entity integer DEFAULT 1
|
||||||
)ENGINE=InnoDB;
|
)ENGINE=innodb;
|
||||||
|
|||||||
@ -21,5 +21,5 @@ CREATE TABLE llx_opensurvey_comments (
|
|||||||
comment text NOT NULL,
|
comment text NOT NULL,
|
||||||
tms timestamp,
|
tms timestamp,
|
||||||
usercomment text
|
usercomment text
|
||||||
) ENGINE=InnoDB;
|
) ENGINE=innodb;
|
||||||
|
|
||||||
|
|||||||
@ -20,5 +20,5 @@ CREATE TABLE llx_opensurvey_formquestions (
|
|||||||
id_sondage VARCHAR(16),
|
id_sondage VARCHAR(16),
|
||||||
question TEXT,
|
question TEXT,
|
||||||
available_answers TEXT -- List of available answers
|
available_answers TEXT -- List of available answers
|
||||||
) ENGINE=InnoDB;
|
) ENGINE=innodb;
|
||||||
|
|
||||||
|
|||||||
@ -31,4 +31,4 @@ CREATE TABLE llx_opensurvey_sondage (
|
|||||||
allow_spy tinyint NOT NULL DEFAULT 1,
|
allow_spy tinyint NOT NULL DEFAULT 1,
|
||||||
tms TIMESTAMP,
|
tms TIMESTAMP,
|
||||||
sujet TEXT -- Not filled if format = 'F'. Question are into table llx_opensurvey_formquestions
|
sujet TEXT -- Not filled if format = 'F'. Question are into table llx_opensurvey_formquestions
|
||||||
) ENGINE=InnoDB;
|
) ENGINE=innodb;
|
||||||
|
|||||||
@ -19,4 +19,4 @@ CREATE TABLE llx_opensurvey_user_formanswers (
|
|||||||
fk_user_survey INTEGER NOT NULL,
|
fk_user_survey INTEGER NOT NULL,
|
||||||
fk_question INTEGER NOT NULL,
|
fk_question INTEGER NOT NULL,
|
||||||
reponses TEXT
|
reponses TEXT
|
||||||
) ENGINE=InnoDB;
|
) ENGINE=innodb;
|
||||||
|
|||||||
@ -21,4 +21,4 @@ CREATE TABLE llx_opensurvey_user_studs (
|
|||||||
id_sondage VARCHAR(16) NOT NULL,
|
id_sondage VARCHAR(16) NOT NULL,
|
||||||
reponses VARCHAR(100) NOT NULL, -- Not used for 'F' surveys
|
reponses VARCHAR(100) NOT NULL, -- Not used for 'F' surveys
|
||||||
tms timestamp
|
tms timestamp
|
||||||
) ENGINE=InnoDB;
|
) ENGINE=innodb;
|
||||||
|
|||||||
@ -27,5 +27,5 @@ CREATE TABLE llx_product_batch (
|
|||||||
batch varchar(128) NOT NULL,
|
batch varchar(128) NOT NULL,
|
||||||
qty double NOT NULL DEFAULT 0,
|
qty double NOT NULL DEFAULT 0,
|
||||||
import_key varchar(14) DEFAULT NULL
|
import_key varchar(14) DEFAULT NULL
|
||||||
) ENGINE=InnoDB;
|
) ENGINE=innodb;
|
||||||
|
|
||||||
|
|||||||
@ -29,4 +29,4 @@ CREATE TABLE llx_product_lot (
|
|||||||
fk_user_creat integer,
|
fk_user_creat integer,
|
||||||
fk_user_modif integer,
|
fk_user_modif integer,
|
||||||
import_key integer
|
import_key integer
|
||||||
) ENGINE=InnoDB;
|
) ENGINE=innodb;
|
||||||
|
|||||||
@ -24,5 +24,5 @@ CREATE TABLE llx_propal_merge_pdf_product (
|
|||||||
datec datetime NOT NULL,
|
datec datetime NOT NULL,
|
||||||
tms timestamp NOT NULL,
|
tms timestamp NOT NULL,
|
||||||
import_key varchar(14) DEFAULT NULL
|
import_key varchar(14) DEFAULT NULL
|
||||||
) ENGINE=InnoDB;
|
) ENGINE=innodb;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user