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
655e8181
Commit
655e8181
authored
Oct 03, 2016
by
Leigh B Stoller
Browse files
Tweak previous revision.
parent
697f6662
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
655e8181
...
...
@@ -2191,7 +2191,6 @@ CREATE TABLE `image_aliases` (
`target_imagename`
varchar
(
30
)
NOT
NULL
default
''
,
`target_imageid`
int
(
8
)
unsigned
NOT
NULL
default
'0'
,
PRIMARY
KEY
(
`imageid`
,
`target_imageid`
),
UNIQUE
KEY
`pid`
(
`pid`
,
`imagename`
),
KEY
`uuid`
(
`uuid`
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
latin1
;
...
...
sql/updates/4/534
View file @
655e8181
...
...
@@ -8,6 +8,7 @@ sub DoUpdate($$$)
#
# No one is using this table yet.
#
DBQueryFatal("ALTER TABLE image_aliases DROP KEY `pid`");
DBQueryFatal("ALTER TABLE image_aliases DROP PRIMARY KEY");
DBQueryFatal("ALTER TABLE image_aliases ADD PRIMARY KEY ".
"(`imageid`,`target_imageid`)");
...
...
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