Fix : bookcal database structure (#25326)
* Fix : bookcal database structure * fix status --------- Co-authored-by: Hystepik <lucas.marcouiller@gmail.com>
This commit is contained in:
parent
a366e567e8
commit
91020eacfa
2 changed files with 4 additions and 1 deletions
|
|
@ -122,6 +122,7 @@ class Booking extends CommonObject
|
|||
'email' => array('type'=>'varchar(128)', 'label'=>'email', 'enabled'=>'1', 'position'=>4, 'notnull'=>1, 'visible'=>-1,),
|
||||
'start' => array('type'=>'datetime', 'label'=>'Start Hour', 'enabled'=>'1', 'position'=>5, 'notnull'=>1, 'visible'=>-1,),
|
||||
'duration' => array('type'=>'integer', 'label'=>'Duration', 'enabled'=>'1', 'position'=>6, 'notnull'=>1, 'visible'=>-1,),
|
||||
'fk_bookcal_availability' => array('type'=>'integer:Availabilities:bookcal/class/availabilities.class.php', 'label'=>'AvailabilityId', 'enabled'=>'1', 'position'=>49, 'notnull'=>1, 'visible'=>-1,),
|
||||
);
|
||||
public $rowid;
|
||||
public $ref;
|
||||
|
|
@ -143,6 +144,7 @@ class Booking extends CommonObject
|
|||
public $email;
|
||||
public $start;
|
||||
public $duration;
|
||||
public $fk_bookcal_availability;
|
||||
// END MODULEBUILDER PROPERTIES
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ CREATE TABLE llx_bookcal_booking(
|
|||
lastname varchar(128) NOT NULL,
|
||||
email varchar(128) NOT NULL,
|
||||
start datetime NOT NULL,
|
||||
duration integer NOT NULL
|
||||
duration integer NOT NULL,
|
||||
fk_bookcal_availability integer NOT NULL
|
||||
-- END MODULEBUILDER FIELDS
|
||||
) ENGINE=innodb;
|
||||
|
|
|
|||
Loading…
Reference in a new issue