Commit 37ff40e4 authored by David Johnson's avatar David Johnson
Browse files

I am an idiot. Need another primary key for virt_node_motelog.

parent ac0e6050
......@@ -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)
......@@ -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);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment