mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-09 04:59:18 +00:00
feat: add support for SCIM provisioning (#1182)
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
DROP TABLE scim_service_providers;
|
||||
ALTER TABLE users DROP COLUMN updated_at;
|
||||
ALTER TABLE user_groups DROP COLUMN updated_at;
|
||||
@@ -0,0 +1,15 @@
|
||||
CREATE TABLE scim_service_providers
|
||||
(
|
||||
id UUID PRIMARY KEY,
|
||||
created_at TIMESTAMPTZ NOT NULL,
|
||||
endpoint TEXT NOT NULL,
|
||||
token TEXT NOT NULL,
|
||||
last_synced_at TIMESTAMPTZ,
|
||||
oidc_client_id TEXT NOT NULL REFERENCES oidc_clients (id) ON DELETE CASCADE
|
||||
);
|
||||
|
||||
ALTER TABLE users
|
||||
ADD COLUMN updated_at TIMESTAMPTZ;
|
||||
|
||||
ALTER TABLE user_groups
|
||||
ADD COLUMN updated_at TIMESTAMPTZ;
|
||||
Reference in New Issue
Block a user