Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
3a42e5df
Commit
3a42e5df
authored
Mar 20, 2005
by
Timothy Stack
Browse files
Add a table for the location of the robot holding pens.
parent
d883dbc5
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
3a42e5df
...
...
@@ -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`
--
...
...
sql/database-migrate.txt
View file @
3a42e5df
...
...
@@ -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;
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment