fix(migrations): Remove deleted_at references from migration 0112/0113
- Migration 0112: tenants table has no deleted_at column, remove filter - Migration 0113: guest_users table has no deleted_at column, remove filter
This commit is contained in:
@@ -34,7 +34,7 @@ DECLARE
|
||||
new_user_id UUID;
|
||||
mapped_status TEXT;
|
||||
BEGIN
|
||||
FOR guest_rec IN SELECT * FROM guest_users WHERE deleted_at IS NULL OR deleted_at IS NULL
|
||||
FOR guest_rec IN SELECT * FROM guest_users
|
||||
LOOP
|
||||
-- Map guest status to user_tenants status
|
||||
mapped_status := CASE
|
||||
|
||||
Reference in New Issue
Block a user