SELECT "draft".* FROM "draft" WHERE (id = 158) LIMIT 1; 1.4 ms
SELECT "initiative".* FROM "initiative" WHERE ("initiative"."id" IN (156)); 1.4 ms
SELECT "issue".*, justify_interval(min_admission_time)::text AS "min_admission_time_text", justify_interval(max_admission_time)::text AS "max_admission_time_text", justify_interval(discussion_time)::text AS "discussion_time_text", justify_interval(verification_time)::text AS "verification_time_text", justify_interval(voting_time)::text AS "voting_time_text", justify_interval(coalesce(issue.fully_frozen + issue.voting_time, issue.half_frozen + issue.verification_time, issue.accepted + issue.discussion_time, issue.created + issue.max_admission_time) - now()) AS "state_time_left", justify_interval(now() - issue.closed) AS "closed_ago" FROM "issue" WHERE ("issue"."id" IN (138)); 1.6 ms
SELECT "policy".*, justify_interval(min_admission_time)::text AS "min_admission_time_text", justify_interval(max_admission_time)::text AS "max_admission_time_text", justify_interval(discussion_time)::text AS "discussion_time_text", justify_interval(verification_time)::text AS "verification_time_text", justify_interval(voting_time)::text AS "voting_time_text" FROM "policy" WHERE ("policy"."id" IN (17)); 0.8 ms
SELECT "area".* FROM "area" WHERE ("area"."id" IN (17)); 0.6 ms
SELECT "unit".* FROM "unit" WHERE ("unit"."id" IN (25)); 0.5 ms
SELECT "initiative".* FROM "initiative" WHERE ("initiative"."issue_id" IN (138)) ORDER BY initiative.admitted DESC NULLS LAST, initiative.rank NULLS LAST, initiative.harmonic_weight DESC NULLS LAST, id; 1.0 ms