Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
c0415e1d
Commit
c0415e1d
authored
Sep 08, 2004
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add usrp_orders table.
parent
925126d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
1 deletion
+39
-1
sql/database-create.sql
sql/database-create.sql
+22
-1
sql/database-migrate.txt
sql/database-migrate.txt
+17
-0
No files found.
sql/database-create.sql
View file @
c0415e1d
...
...
@@ -407,13 +407,14 @@ CREATE TABLE firewalls (
CREATE
TABLE
floorimages
(
building
varchar
(
32
)
NOT
NULL
default
''
,
floor
varchar
(
32
)
NOT
NULL
default
''
,
scale
tinyint
(
4
)
NOT
NULL
default
'1'
,
image_path
tinytext
,
thumb_path
tinytext
,
x1
int
(
6
)
NOT
NULL
default
'0'
,
y1
int
(
6
)
NOT
NULL
default
'0'
,
x2
int
(
6
)
NOT
NULL
default
'0'
,
y2
int
(
6
)
NOT
NULL
default
'0'
,
PRIMARY
KEY
(
building
,
floor
)
PRIMARY
KEY
(
building
,
floor
,
scale
)
)
TYPE
=
MyISAM
;
--
...
...
@@ -1683,6 +1684,26 @@ CREATE TABLE userslastlogin (
PRIMARY
KEY
(
uid
)
)
TYPE
=
MyISAM
;
--
-- Table structure for table `usrp_orders`
--
CREATE
TABLE
usrp_orders
(
order_id
varchar
(
32
)
NOT
NULL
default
''
,
email
tinytext
,
name
tinytext
,
phone
tinytext
,
affiliation
tinytext
,
num_mobos
int
(
11
)
default
'0'
,
num_dboards
int
(
11
)
default
'0'
,
intended_use
tinytext
,
comments
tinytext
,
order_date
datetime
default
NULL
,
modify_date
datetime
default
NULL
,
PRIMARY
KEY
(
order_id
)
)
TYPE
=
MyISAM
;
--
-- Table structure for table `v2pmap`
--
...
...
sql/database-migrate.txt
View file @
c0415e1d
...
...
@@ -1946,3 +1946,20 @@ last_net_act,last_cpu_act,last_ext_act);
Please read that.
1.273: Minor fix to previous revision; skip to next entry ...
1.274: Add usrp_orders table.
CREATE TABLE usrp_orders (
order_id varchar(32) NOT NULL default '',
email tinytext,
name tinytext,
phone tinytext,
affiliation tinytext,
num_mobos int(11) default '0',
num_dboards int(11) default '0',
intended_use tinytext,
comments tinytext,
order_date datetime default NULL,
modify_date datetime default NULL,
PRIMARY KEY (order_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