fixing the typo for audit table (type, created_date) index creation

This commit is contained in:
Himanshu Gupta 2015-04-29 17:09:35 -05:00
parent 95e0429eb1
commit 4aa9381f6a
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ public abstract class SQLMetadataConnector implements MetadataStorageConnector
tableName, getSerialType(), getPayloadType()
),
String.format("CREATE INDEX idx_%1$s_key_time ON %1$s(audit_key, created_date)", tableName),
String.format("CREATE INDEX idx_%1$s_type_time ON %1$s(audit_key, created_date)", tableName),
String.format("CREATE INDEX idx_%1$s_type_time ON %1$s(type, created_date)", tableName),
String.format("CREATE INDEX idx_%1$s_audit_time ON %1$s(created_date)", tableName)
)
);