You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by jf...@apache.org on 2015/03/06 23:46:13 UTC

svn commit: r1664749 - in /vcl/trunk/mysql: update-vcl.sql vcl.sql

Author: jfthomps
Date: Fri Mar  6 22:46:13 2015
New Revision: 1664749

URL: http://svn.apache.org/r1664749
Log:
VCL-392 - Add option to rename computer separate from Sysprep

vcl.sql and update-vcl.sql: added sethostname field to imagemeta table

Modified:
    vcl/trunk/mysql/update-vcl.sql
    vcl/trunk/mysql/vcl.sql

Modified: vcl/trunk/mysql/update-vcl.sql
URL: http://svn.apache.org/viewvc/vcl/trunk/mysql/update-vcl.sql?rev=1664749&r1=1664748&r2=1664749&view=diff
==============================================================================
--- vcl/trunk/mysql/update-vcl.sql (original)
+++ vcl/trunk/mysql/update-vcl.sql Fri Mar  6 22:46:13 2015
@@ -954,6 +954,7 @@ CALL AddIndexIfNotExists('image', 'based
 --
 
 CALL DropColumnIfExists('imagemeta', 'usergroupid');
+CALL AddColumnIfNotExists('imagemeta', 'sethostname', "tinyint(1) unsigned default NULL AFTER rootaccess");
 
 -- --------------------------------------------------------
 

Modified: vcl/trunk/mysql/vcl.sql
URL: http://svn.apache.org/viewvc/vcl/trunk/mysql/vcl.sql?rev=1664749&r1=1664748&r2=1664749&view=diff
==============================================================================
--- vcl/trunk/mysql/vcl.sql (original)
+++ vcl/trunk/mysql/vcl.sql Fri Mar  6 22:46:13 2015
@@ -469,6 +469,7 @@ CREATE TABLE IF NOT EXISTS `imagemeta` (
   `postoption` varchar(32) default NULL,
   `architecture` varchar(10) default NULL,
   `rootaccess` tinyint(1) unsigned NOT NULL default '1',
+  `sethostname` tinyint(1) unsigned default NULL,
   PRIMARY KEY  (`id`)
 ) ENGINE=InnoDB  DEFAULT CHARSET=latin1;