mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-23 06:48:24 -04:00
Fix typo in Frames index creation. I hope
This commit is contained in:
1 parent
9dcb3e1df3
commit
e51ff0677f
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -244,7 +244,7 @@ CREATE TABLE `Frames` (
|
||||
`Delta` decimal(8,2) NOT NULL default '0.00',
|
||||
`Score` smallint(5) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (`Id`),
|
||||
INDEX `EventId_idx` (`EventId ASC`),
|
||||
INDEX `EventId_idx` (`EventId`),
|
||||
KEY `Type` (`Type`),
|
||||
KEY `TimeStamp` (`TimeStamp`)
|
||||
) ENGINE=@ZM_MYSQL_ENGINE@;
|
||||
|
||||
@@ -13,7 +13,7 @@ SET @s = (SELECT IF(
|
||||
AND index_name='EventId_idx';
|
||||
) > 0,
|
||||
"SELECT 'EventId Index already exists on Frames table'",
|
||||
"CREATE INDEX `EventId_idx` ON `Frames` (`EventId ASC`)"
|
||||
"CREATE INDEX `EventId_idx` ON `Frames` (`EventId`)"
|
||||
));
|
||||
|
||||
PREPARE stmt FROM @s;
|
||||
|
||||
Reference in new issue
Block a user