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
91b86f5a
Commit
91b86f5a
authored
Mar 25, 2004
by
Leigh B. Stoller
Browse files
Add location_info table.
parent
b6da3a51
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
91b86f5a
...
...
@@ -546,6 +546,22 @@ CREATE TABLE linkdelays (
PRIMARY
KEY
(
node_id
,
vlan
,
vnode
)
)
TYPE
=
MyISAM
;
--
-- Table structure for table `location_info`
--
CREATE
TABLE
location_info
(
node_id
varchar
(
32
)
NOT
NULL
default
''
,
floor
varchar
(
32
)
default
NULL
,
building
varchar
(
32
)
default
NULL
,
loc_x
int
(
10
)
unsigned
NOT
NULL
default
'0'
,
loc_y
int
(
10
)
unsigned
NOT
NULL
default
'0'
,
contact
tinytext
,
phone
tinytext
,
room
varchar
(
32
)
default
NULL
,
PRIMARY
KEY
(
node_id
)
)
TYPE
=
MyISAM
;
--
-- Table structure for table `login`
--
...
...
sql/database-migrate.txt
View file @
91b86f5a
...
...
@@ -1394,3 +1394,17 @@ last_net_act,last_cpu_act,last_ext_act);
alter table plab_slices add column admin tinyint(1) default 0;
1.233: Add location_info table for generating wireless location maps.
CREATE TABLE location_info (
node_id varchar(32) NOT NULL default '',
floor varchar(32) default NULL,
building varchar(32) default NULL,
loc_x int(10) unsigned NOT NULL default '0',
loc_y int(10) unsigned NOT NULL default '0',
contact tinytext,
phone tinytext,
room varchar(32) default NULL,
PRIMARY KEY (node_id)
) 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