mirror of
https://github.com/correl/dejavu.git
synced 2024-12-28 19:19:18 +00:00
Corrected fingerprints table schema, fixes #26
This commit is contained in:
parent
64a6161b90
commit
eefcf0991c
1 changed files with 2 additions and 2 deletions
|
@ -63,8 +63,8 @@ class SQLDatabase(Database):
|
|||
`%s` binary(10) not null,
|
||||
`%s` mediumint unsigned not null,
|
||||
`%s` int unsigned not null,
|
||||
PRIMARY KEY(%s),
|
||||
UNIQUE(%s, %s, %s),
|
||||
INDEX (%s),
|
||||
UNIQUE KEY `unique_constraint` (%s, %s, %s),
|
||||
FOREIGN KEY (%s) REFERENCES %s(%s) ON DELETE CASCADE
|
||||
) ENGINE=INNODB;""" % (
|
||||
FINGERPRINTS_TABLENAME, FIELD_HASH,
|
||||
|
|
Loading…
Reference in a new issue