Removed redundant scenes path from Digital Playground main channel.

This commit is contained in:
DebaucheryLibrarian
2022-02-27 21:15:05 +01:00
parent 7b3bdadd44
commit f0d0ee3acc
9 changed files with 92 additions and 34 deletions

View File

@@ -1,5 +1,5 @@
exports.up = async (knex) => knex.raw(`
CREATE OR REPLACE FUNCTION entities_scene_total(entity entities) RETURNS integer AS $$
CREATE OR REPLACE FUNCTION entities_scene_total(entity entities) RETURNS bigint AS $$
SELECT COUNT(id)
FROM releases
WHERE releases.entity_id = entity.id;