···330330 verified text, -- time of verification
331331 created text not null default (strftime('%Y-%m-%dT%H:%M:%SZ', 'now')),
332332333333- unique(instance)
333333+ unique(did, instance)
334334+ );
335335+336336+ create table if not exists spindle_members (
337337+ -- identifiers for the record
338338+ id integer primary key autoincrement,
339339+ did text not null,
340340+ rkey text not null,
341341+342342+ -- data
343343+ instance text not null,
344344+ subject text not null,
345345+ created text not null default (strftime('%Y-%m-%dT%H:%M:%SZ', 'now')),
346346+347347+ -- constraints
348348+ foreign key (did, instance) references spindles(owner, instance) on delete cascade,
349349+ unique (did, instance, subject)
334350 );
335351336352 create table if not exists pipelines (