Fix: missing rename field "shortname" to "ref"

This commit is contained in:
Regis Houssin 2016-06-23 16:47:21 +02:00
parent d0f03d9ff6
commit 25631b236b

View File

@ -136,6 +136,7 @@ CREATE TABLE llx_website
tms timestamp
) ENGINE=innodb;
ALTER TABLE llx_website ADD COLUMN fk_default_home integer;
ALTER TABLE llx_website CHANGE COLUMN shortname ref varchar(24) NOT NULL;
ALTER TABLE llx_website ADD UNIQUE INDEX uk_website_ref (ref, entity);
CREATE TABLE llx_website_page