Merge pull request #9636 from frederic34/patch-9

update sql table for takepos module
This commit is contained in:
Laurent Destailleur 2018-10-01 01:16:01 +02:00 committed by GitHub
commit 5050068e59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 13 deletions

View File

@ -90,11 +90,11 @@ ALTER TABLE llx_website_page CHANGE COLUMN fk_user_create fk_user_creat integer;
CREATE TABLE llx_takepos_floor_tables(
rowid INTEGER AUTO_INCREMENT PRIMARY KEY,
entity INTEGER DEFAULT 1 NOT NULL,
label VARCHAR(255),
rowid integer AUTO_INCREMENT PRIMARY KEY,
entity integer DEFAULT 1 NOT NULL,
label varchar(255),
leftpos float,
toppos float,
floor int(3)
toppos float,
floor smallint
) ENGINE=innodb;

View File

@ -15,12 +15,12 @@
CREATE TABLE llx_takepos_floor_tables(
-- BEGIN MODULEBUILDER FIELDS
rowid INTEGER AUTO_INCREMENT PRIMARY KEY,
entity INTEGER DEFAULT 1 NOT NULL,
label VARCHAR(255),
-- BEGIN MODULEBUILDER FIELDS
rowid integer AUTO_INCREMENT PRIMARY KEY,
entity integer DEFAULT 1 NOT NULL,
label varchar(255),
leftpos float,
toppos float,
floor int(3)
-- END MODULEBUILDER FIELDS
) ENGINE=innodb;
toppos float,
floor smallint
-- END MODULEBUILDER FIELDS
) ENGINE=innodb;