mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
Merge pull request #144 from nlevitt/trough-dedup-schema
change trough dedup `date` type to varchar
This commit is contained in:
commit
3f5251ed60
@ -500,7 +500,7 @@ class TroughDedupDb(DedupDb, DedupableMixin):
|
||||
SCHEMA_SQL = ('create table dedup (\n'
|
||||
' digest_key varchar(100) primary key,\n'
|
||||
' url varchar(2100) not null,\n'
|
||||
' date datetime not null,\n'
|
||||
' date varchar(100) not null,\n'
|
||||
' id varchar(100));\n') # warc record id
|
||||
WRITE_SQL_TMPL = ('insert or ignore into dedup\n'
|
||||
'(digest_key, url, date, id)\n'
|
||||
|
Loading…
x
Reference in New Issue
Block a user