fix(sandbox): use posting engine and recover failed seeds (#2297)
* fix(sandbox): seed through posting engine and recover failed attempts * test(sandbox): align CI auth schema for anonymous users
This commit is contained in:
@@ -47,6 +47,12 @@ AS $$
|
||||
SELECT string_to_array(name, '/');
|
||||
$$;
|
||||
|
||||
-- auth.identities is created by GoTrue at startup, not by the Postgres
|
||||
-- image. Likewise, GoTrue's 20240214120130 migration adds is_anonymous;
|
||||
-- sandbox authorization reads this server-owned flag, not user metadata.
|
||||
ALTER TABLE auth.users
|
||||
ADD COLUMN IF NOT EXISTS is_anonymous boolean NOT NULL DEFAULT false;
|
||||
|
||||
-- auth.identities is created by GoTrue at startup, not by the Postgres
|
||||
-- image, and GoTrue does not run in CI. Triggers on auth.users that touch
|
||||
-- identities (20260903110000 unlink_old_address_identities) need the table
|
||||
|
||||
Reference in New Issue
Block a user