Differences From
Artifact [794844a9c8]:
240 240 delete from parsav_rights where
241 241 actor = $1::bigint and
242 242 key = $2::text
243 243 ]]
244 244 };
245 245
246 246 actor_rel_create = {
247 - params = {uint16,uint64, uint64}, cmd = true, sql = [[
248 - insert into parsav_rels (kind,relator,relatee)
249 - values($1::smallint, $2::bigint, $3::bigint)
247 + params = {uint16,uint64, uint64, int64}, cmd = true, sql = [[
248 + insert into parsav_rels (kind,relator,relatee,since)
249 + values($1::smallint, $2::bigint, $3::bigint, $4::bigint)
250 250 on conflict do nothing
251 251 ]];
252 252 };
253 253
254 254 actor_rel_destroy = {
255 255 params = {uint16,uint64, uint64}, cmd = true, sql = [[
256 256 delete from parsav_rels where
................................................................................
1499 1499 end];
1500 1500
1501 1501 actor_rel_create = [terra(
1502 1502 src: &lib.store.source,
1503 1503 kind: uint16,
1504 1504 relator: uint64,
1505 1505 relatee: uint64
1506 - ): {} queries.actor_rel_create.exec(src,kind,relator,relatee) end];
1506 + ): {} queries.actor_rel_create.exec(src,kind,relator,relatee,lib.osclock.time(nil)) end];
1507 1507
1508 1508 actor_rel_destroy = [terra(
1509 1509 src: &lib.store.source,
1510 1510 kind: uint16,
1511 1511 relator: uint64,
1512 1512 relatee: uint64
1513 1513 ): {} queries.actor_rel_destroy.exec(src,kind,relator,relatee) end];