remove unique constraint on visit_key alone
This commit is contained in:
parent
c7fc10069a
commit
f1cbe5bd19
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
create table if not exists hits (
|
||||
id integer primary key,
|
||||
page text not null, -- the slug from the page
|
||||
visit_key text not null unique,
|
||||
visit_key text not null,
|
||||
viewed timestamp not null default CURRENT_TIMESTAMP,
|
||||
unique(page, visit_key)
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue