Commit 45653fbf authored by Eduardo L. Buratti's avatar Eduardo L. Buratti

database: Add search tables

Signed-off-by: Eduardo L. Buratti's avatarEduardo L. Buratti <elb09@c3sl.ufpr.br>
parent 2be0c887
-- search tables
CREATE TABLE search_school (
id SERIAL PRIMARY KEY,
sch_id INTEGER NOT NULL REFERENCES dim_school,
cit_id INTEGER NOT NULL REFERENCES dim_city,
ts_vector TSVECTOR,
contacted_once BOOLEAN NOT NULL DEFAULT false
);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment