Fix: table declaration
Fix: regretion into trigger management
This commit is contained in:
parent
5d2a81a4f0
commit
94cd8debeb
@ -219,14 +219,14 @@ class Categorie extends CommonObject
|
|||||||
// End call triggers
|
// End call triggers
|
||||||
|
|
||||||
if ( ! $error )
|
if ( ! $error )
|
||||||
{
|
|
||||||
$this->db->rollback();
|
|
||||||
return -3;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
$this->db->commit();
|
$this->db->commit();
|
||||||
return $id;
|
return $id;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->db->rollback();
|
||||||
|
return -3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@ -101,7 +101,7 @@ create table llx_accounting_fiscalyear
|
|||||||
statut tinyint DEFAULT 0 NOT NULL,
|
statut tinyint DEFAULT 0 NOT NULL,
|
||||||
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
||||||
datec datetime NOT NULL,
|
datec datetime NOT NULL,
|
||||||
tms timestamp NULL,
|
tms timestamp,
|
||||||
fk_user_author integer NULL,
|
fk_user_author integer NULL,
|
||||||
fk_user_modif integer NULL
|
fk_user_modif integer NULL
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|||||||
@ -25,7 +25,7 @@ create table llx_accounting_fiscalyear
|
|||||||
statut tinyint DEFAULT 0 NOT NULL,
|
statut tinyint DEFAULT 0 NOT NULL,
|
||||||
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
||||||
datec datetime NOT NULL,
|
datec datetime NOT NULL,
|
||||||
tms timestamp DEFAULT NULL,
|
tms timestamp,
|
||||||
fk_user_author integer DEFAULT NULL,
|
fk_user_author integer DEFAULT NULL,
|
||||||
fk_user_modif integer DEFAULT NULL
|
fk_user_modif integer DEFAULT NULL
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user