+1
-1
appview/db/collaborators.go
+1
-1
appview/db/collaborators.go
···
50
50
}
51
51
52
52
func CollaboratingIn(e Execer, collaborator string) ([]Repo, error) {
53
-
rows, err := e.Query(`select repo_at from collaborators where did = ?`, collaborator)
53
+
rows, err := e.Query(`select repo_at from collaborators where subject_did = ?`, collaborator)
54
54
if err != nil {
55
55
return nil, err
56
56
}
+1
-1
appview/db/db.go
+1
-1
appview/db/db.go
···
603
603
repo_at text not null,
604
604
605
605
-- meta
606
-
created text default (strftime('%y-%m-%dt%h:%m:%sz', 'now')),
606
+
created text not null default (strftime('%Y-%m-%dT%H:%M:%SZ', 'now')),
607
607
608
608
-- constraints
609
609
foreign key (repo_at) references repos(at_uri) on delete cascade