oficina / docs Public
| 1 | CREATE TABLE IF NOT EXISTS docs_identity_links ( |
| 2 | issuer TEXT NOT NULL, |
| 3 | subject TEXT NOT NULL, |
| 4 | person_id INTEGER NOT NULL REFERENCES people(id), |
| 5 | PRIMARY KEY (issuer, subject), |
| 6 | UNIQUE (issuer, person_id) |
| 7 | ); |
| 8 |
| 1 | CREATE TABLE IF NOT EXISTS docs_identity_links ( |
| 2 | issuer TEXT NOT NULL, |
| 3 | subject TEXT NOT NULL, |
| 4 | person_id INTEGER NOT NULL REFERENCES people(id), |
| 5 | PRIMARY KEY (issuer, subject), |
| 6 | UNIQUE (issuer, person_id) |
| 7 | ); |
| 8 |