Skip to content
GitLab
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
37ff40e4
Commit
37ff40e4
authored
Apr 04, 2006
by
David Johnson
Browse files
I am an idiot. Need another primary key for virt_node_motelog.
parent
ac0e6050
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
37ff40e4
...
...
@@ -2662,7 +2662,7 @@ CREATE TABLE virt_node_motelog (
eid
varchar
(
32
)
NOT
NULL
default
''
,
vname
varchar
(
32
)
NOT
NULL
default
''
,
logfileid
varchar
(
45
)
NOT
NULL
default
''
,
PRIMARY
KEY
(
pid
,
eid
,
vname
)
PRIMARY
KEY
(
pid
,
eid
,
vname
,
logfileid
)
)
TYPE
=
MyISAM
;
--
...
...
sql/database-migrate.txt
View file @
37ff40e4
...
...
@@ -3275,3 +3275,7 @@ last_net_act,last_cpu_act,last_ext_act);
4.46: Changes to templates.sql. Skip this revision for now.
4.47: Ack, need another field in the primary key for virt_node_motelog:
alter table virt_node_motelog drop primary key;
alter table virt_node_motelog add primary key(pid,eid,vname,logfileid);
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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