Merge pull request #16856 from aspangaro/14a28
FIX SQL Error on v14 fresh install
This commit is contained in:
commit
996ee2caee
@ -33,7 +33,7 @@ create table llx_events
|
|||||||
description varchar(250) NOT NULL, -- full description of action
|
description varchar(250) NOT NULL, -- full description of action
|
||||||
ip varchar(250) NOT NULL, -- ip (must contains ip v4 and v6 or dns names)
|
ip varchar(250) NOT NULL, -- ip (must contains ip v4 and v6 or dns names)
|
||||||
user_agent varchar(255) NULL, -- user agent
|
user_agent varchar(255) NULL, -- user agent
|
||||||
fk_object integer NULL -- id of related object
|
fk_object integer NULL, -- id of related object
|
||||||
authentication_method varchar(64) NULL, -- type of authentication mode used if internal login event
|
authentication_method varchar(64) NULL, -- type of authentication mode used if internal login event
|
||||||
fk_oauth_token integer NULL -- id in oauth_token if internal login event done using an oauth_token
|
fk_oauth_token integer NULL -- id in oauth_token if internal login event done using an oauth_token
|
||||||
) ENGINE=innodb;
|
) ENGINE=innodb;
|
||||||
|
|||||||
@ -33,7 +33,7 @@ ALTER TABLE llx_societe ADD INDEX idx_societe_prospectlevel(fk_prospectlevel);
|
|||||||
ALTER TABLE llx_societe ADD INDEX idx_societe_typent(fk_typent);
|
ALTER TABLE llx_societe ADD INDEX idx_societe_typent(fk_typent);
|
||||||
ALTER TABLE llx_societe ADD INDEX idx_societe_forme_juridique(fk_forme_juridique);
|
ALTER TABLE llx_societe ADD INDEX idx_societe_forme_juridique(fk_forme_juridique);
|
||||||
ALTER TABLE llx_societe ADD INDEX idx_societe_shipping_method(fk_shipping_method);
|
ALTER TABLE llx_societe ADD INDEX idx_societe_shipping_method(fk_shipping_method);
|
||||||
ALTER TABLE llx_societe ADD INDEX idx_societe_warehouse(fk_warehouse);
|
-- ALTER TABLE llx_societe ADD INDEX idx_societe_warehouse(fk_warehouse);
|
||||||
|
|
||||||
-- ALTER TABLE llx_societe ADD FOREIGN KEY fk_prospectlevel llx_c_prospectlevel(code);
|
-- ALTER TABLE llx_societe ADD FOREIGN KEY fk_prospectlevel llx_c_prospectlevel(code);
|
||||||
|
|
||||||
|
|||||||
@ -17,12 +17,12 @@
|
|||||||
-- ===========================================================================
|
-- ===========================================================================
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Table to store each different IP / devices / puclib key used for login
|
-- Table to store each different IP / devices / public key used for login
|
||||||
--
|
--
|
||||||
create table llx_user_ipdevices
|
create table llx_user_clicktodial
|
||||||
(
|
(
|
||||||
rowid integer PRIMARY KEY,
|
rowid integer PRIMARY KEY,
|
||||||
fk_user integer NOT NULL, -- ID llx_user
|
fk_user integer NOT NULL, -- ID llx_user
|
||||||
ip varchar(64),
|
ip varchar(64),
|
||||||
user_agent varchar(255) NULL, -- user agent
|
user_agent varchar(255) NULL -- user agent
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user