Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
91b86f5a
Commit
91b86f5a
authored
Mar 25, 2004
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add location_info table.
parent
b6da3a51
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
+30
-0
sql/database-create.sql
sql/database-create.sql
+16
-0
sql/database-migrate.txt
sql/database-migrate.txt
+14
-0
No files found.
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
Markdown
is supported
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