diff --git a/sql/database-create.sql b/sql/database-create.sql
index 9704e36961284ad0e13cc291e9210c6fc720929c..d2ce56b4161bd4f9a845ec17e6b93ec86a17d47d 100644
--- a/sql/database-create.sql
+++ b/sql/database-create.sql
@@ -1015,6 +1015,20 @@ CREATE TABLE node_rusage (
   PRIMARY KEY  (node_id)
 ) TYPE=MyISAM;
 
+--
+-- Table structure for table `node_startloc`
+--
+
+CREATE TABLE node_startloc (
+  node_id varchar(32) NOT NULL default '',
+  building varchar(32) NOT NULL default '',
+  floor varchar(32) NOT NULL default '',
+  loc_x float NOT NULL default '0',
+  loc_y float NOT NULL default '0',
+  orientation float NOT NULL default '0',
+  PRIMARY KEY  (node_id,building,floor)
+) TYPE=MyISAM;
+
 --
 -- Table structure for table `node_status`
 --
diff --git a/sql/database-migrate.txt b/sql/database-migrate.txt
index 0cf7d212f9becda9b91478bfa9562c7b7658a82a..15e20748d32c3d7d342013ec2a5884b9f3129c9d 100644
--- a/sql/database-migrate.txt
+++ b/sql/database-migrate.txt
@@ -2531,3 +2531,15 @@ last_net_act,last_cpu_act,last_ext_act);
        table to indicate if an interface supports WhOL.
 
 	alter table interfaces add whol tinyint(4) NOT NULL default '0';
+
+1.323: Add a table for the location of the robot holding pens.
+
+	CREATE TABLE node_startloc (
+	  node_id varchar(32) NOT NULL default '',
+	  building varchar(32) NOT NULL default '',
+	  floor varchar(32) NOT NULL default '',
+	  loc_x float NOT NULL default '0',
+	  loc_y float NOT NULL default '0',
+	  orientation float NOT NULL default '0',
+	  PRIMARY KEY  (node_id,building,floor)
+	) TYPE=MyISAM;