Differences From
Artifact [bc736c4c1d]:
85 85 create index on parsav_posts (parent);
86 86
87 87 create table parsav_rels (
88 88 relator bigint references parsav_actors(id)
89 89 on delete cascade, -- e.g. follower
90 90 relatee bigint references parsav_actors(id)
91 91 on delete cascade, -- e.g. followed
92 - kind smallint, -- e.g. follow, block, mute
92 + kind smallint not null, -- e.g. follow, block, mute
93 + since bigint not null,
93 94
94 95 primary key (relator, relatee, kind)
95 96 );
96 97 comment on table parsav_rels is
97 98 'all relationships, positive and negative, between local users and other users; kind is a version-specific integer mapping to a type-of-relationship enum in store.t';
98 99
99 100 create table parsav_acts (