Browse Source

Made id a fk to contact_id in contacts.

devel
Jonathan Rosenbaum 9 years ago
parent
commit
ec69322128
  1. 2
      sql/populate.sql

2
sql/populate.sql

@ -204,3 +204,5 @@ CREATE TABLE IF NOT EXISTS options (
option_value text NOT NULL,
PRIMARY KEY (option_name)
);
ALTER TABLE options ADD CONSTRAINT id FOREIGN KEY (id) REFERENCES contacts (contact_id) ON UPDATE CASCADE;

Loading…
Cancel
Save