mirror of
https://github.com/correl/dejavu.git
synced 2024-11-27 11:09:51 +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` binary(10) not null,
|
||||||
`%s` mediumint unsigned not null,
|
`%s` mediumint unsigned not null,
|
||||||
`%s` int unsigned not null,
|
`%s` int unsigned not null,
|
||||||
PRIMARY KEY(%s),
|
INDEX (%s),
|
||||||
UNIQUE(%s, %s, %s),
|
UNIQUE KEY `unique_constraint` (%s, %s, %s),
|
||||||
FOREIGN KEY (%s) REFERENCES %s(%s) ON DELETE CASCADE
|
FOREIGN KEY (%s) REFERENCES %s(%s) ON DELETE CASCADE
|
||||||
) ENGINE=INNODB;""" % (
|
) ENGINE=INNODB;""" % (
|
||||||
FINGERPRINTS_TABLENAME, FIELD_HASH,
|
FINGERPRINTS_TABLENAME, FIELD_HASH,
|
||||||
|
|
Loading…
Reference in a new issue