Commit e61e9bc1 authored by paulina's avatar paulina
Browse files

community integrity check

parent 73f9d267
......@@ -36,6 +36,7 @@ BEGIN
SELECT role_id
FROM hive_roles
WHERE account_id = (SELECT id from hive_accounts WHERE name = _last)
AND hive_roles.community_id = __community_id
IF __last_role = 0 THEN
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment