From 25631b236bf37db10c0279c7e22e153362783eb1 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 23 Jun 2016 16:47:21 +0200 Subject: [PATCH] Fix: missing rename field "shortname" to "ref" --- htdocs/install/mysql/migration/3.9.0-4.0.0.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/install/mysql/migration/3.9.0-4.0.0.sql b/htdocs/install/mysql/migration/3.9.0-4.0.0.sql index e939563cf9b..0ddeaf8f3ad 100644 --- a/htdocs/install/mysql/migration/3.9.0-4.0.0.sql +++ b/htdocs/install/mysql/migration/3.9.0-4.0.0.sql @@ -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