Download this file
| 1 | CREATE TABLE directory_operator_owner_receipts ( |
| 2 | issuer TEXT NOT NULL, |
| 3 | owner_operation_id TEXT NOT NULL CHECK(length(owner_operation_id)=43), |
| 4 | directory_operation_id TEXT NOT NULL UNIQUE REFERENCES directory_operator_results(operation_id) DEFERRABLE INITIALLY DEFERRED, |
| 5 | team_id INTEGER NOT NULL UNIQUE REFERENCES teams(id), |
| 6 | PRIMARY KEY(issuer,owner_operation_id) |
| 7 | ); |
| 8 | |