mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Sanitize DDL instructions
This commit is contained in:
@@ -66,7 +66,7 @@ class DoliDBTest extends CommonClassTest
|
||||
$res = $db->DDLDropTable($namedic);
|
||||
|
||||
$columns = array(
|
||||
'rowid' => array('type' => 'integer', 'value' => 11),
|
||||
'rowid' => array('type' => 'integer', 'value' => 11, 'AUTO_INCREMENT PRIMARY KEY'),
|
||||
'code' => array('type' => 'varchar', 'value' => 255, 'null'=>'NOT NULL'),
|
||||
'label' => array('type' => 'varchar', 'value' => 255, 'null'=>'NOT NULL'),
|
||||
'position' => array('type' => 'integer', 'value' => 11, 'null'=>'NULL'),
|
||||
|
||||
Reference in New Issue
Block a user