Closed supersat closed 6 years ago
This needs a small schema change:
drop table fingerprints; create table fingerprints (fpid serial primary key, userid integer not null, fp_data bytea not null, created timestamp not null DEFAULT now()); create index userid_index on fingerprints(userid); alter table fingerprints add constraint fingerprint_userid_fkey foreign key(userid) references users(userid);
IT'S HERE