snapshot of https://github.com/ory/kratos.git (master, 2026-09-15; blobs > 131072B omitted)
Some checks failed
CI / Run tests and lints (push) Failing after 29s
CI / Build CLI docs (push) Has been skipped
CI / Run Playwright end-to-end tests (mysql) (push) Failing after 3s
CI / Run Playwright end-to-end tests (postgres) (push) Failing after 2s
CI / Run Playwright end-to-end tests (sqlite) (push) Failing after 3s
CodeQL / Analyze (go) (push) Failing after 4s
CodeQL / Analyze (javascript) (push) Failing after 3s
Docker Image Scanners / scanners (push) Failing after 4s
Synchronize Issue Labels / Synchronize Issue Labels (push) Has been skipped
CI / Run end-to-end tests (postgres) (push) Failing after 19s
CI / Run end-to-end tests (sqlite) (push) Failing after 2s
CI / Run Playwright end-to-end tests (cockroach) (push) Failing after 2s
CI / Draft newsletter (push) Has been skipped
CI / Generate release (push) Has been skipped
CI / Pending approval Slack notification (push) Has been skipped
CI / Send newsletter (push) Has been skipped
Some checks failed
CI / Run tests and lints (push) Failing after 29s
CI / Build CLI docs (push) Has been skipped
CI / Run Playwright end-to-end tests (mysql) (push) Failing after 3s
CI / Run Playwright end-to-end tests (postgres) (push) Failing after 2s
CI / Run Playwright end-to-end tests (sqlite) (push) Failing after 3s
CodeQL / Analyze (go) (push) Failing after 4s
CodeQL / Analyze (javascript) (push) Failing after 3s
Docker Image Scanners / scanners (push) Failing after 4s
Synchronize Issue Labels / Synchronize Issue Labels (push) Has been skipped
CI / Run end-to-end tests (postgres) (push) Failing after 19s
CI / Run end-to-end tests (sqlite) (push) Failing after 2s
CI / Run Playwright end-to-end tests (cockroach) (push) Failing after 2s
CI / Draft newsletter (push) Has been skipped
CI / Generate release (push) Has been skipped
CI / Pending approval Slack notification (push) Has been skipped
CI / Send newsletter (push) Has been skipped
This commit is contained in:
@@ -0,0 +1 @@
|
||||
DROP TABLE "identities";
|
||||
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE "identities" (
|
||||
"id" UUID NOT NULL,
|
||||
PRIMARY KEY("id"),
|
||||
"traits_schema_id" VARCHAR (2048) NOT NULL,
|
||||
"traits" json NOT NULL,
|
||||
"created_at" timestamp NOT NULL,
|
||||
"updated_at" timestamp NOT NULL
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE `identities`;
|
||||
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE `identities` (
|
||||
`id` char(36) NOT NULL,
|
||||
PRIMARY KEY(`id`),
|
||||
`traits_schema_id` VARCHAR (2048) NOT NULL,
|
||||
`traits` JSON NOT NULL,
|
||||
`created_at` DATETIME NOT NULL,
|
||||
`updated_at` DATETIME NOT NULL
|
||||
) ENGINE=InnoDB
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "identities";
|
||||
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE "identities" (
|
||||
"id" UUID NOT NULL,
|
||||
PRIMARY KEY("id"),
|
||||
"traits_schema_id" VARCHAR (2048) NOT NULL,
|
||||
"traits" jsonb NOT NULL,
|
||||
"created_at" timestamp NOT NULL,
|
||||
"updated_at" timestamp NOT NULL
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "identities";
|
||||
@@ -0,0 +1,7 @@
|
||||
CREATE TABLE "identities" (
|
||||
"id" TEXT PRIMARY KEY,
|
||||
"traits_schema_id" TEXT NOT NULL,
|
||||
"traits" TEXT NOT NULL,
|
||||
"created_at" DATETIME NOT NULL,
|
||||
"updated_at" DATETIME NOT NULL
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "identity_credential_types"
|
||||
@@ -0,0 +1,5 @@
|
||||
CREATE TABLE "identity_credential_types" (
|
||||
"id" UUID NOT NULL,
|
||||
PRIMARY KEY("id"),
|
||||
"name" VARCHAR (32) NOT NULL
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE `identity_credential_types`
|
||||
@@ -0,0 +1,5 @@
|
||||
CREATE TABLE `identity_credential_types` (
|
||||
`id` char(36) NOT NULL,
|
||||
PRIMARY KEY(`id`),
|
||||
`name` VARCHAR (32) NOT NULL
|
||||
) ENGINE=InnoDB
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "identity_credential_types"
|
||||
@@ -0,0 +1,5 @@
|
||||
CREATE TABLE "identity_credential_types" (
|
||||
"id" UUID NOT NULL,
|
||||
PRIMARY KEY("id"),
|
||||
"name" VARCHAR (32) NOT NULL
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "identity_credential_types"
|
||||
@@ -0,0 +1,4 @@
|
||||
CREATE TABLE "identity_credential_types" (
|
||||
"id" TEXT PRIMARY KEY,
|
||||
"name" TEXT NOT NULL
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "identity_credentials"
|
||||
@@ -0,0 +1 @@
|
||||
CREATE UNIQUE INDEX "identity_credential_types_name_idx" ON "identity_credential_types" (name)
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE `identity_credentials`
|
||||
@@ -0,0 +1 @@
|
||||
CREATE UNIQUE INDEX `identity_credential_types_name_idx` ON `identity_credential_types` (`name`)
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "identity_credentials"
|
||||
@@ -0,0 +1 @@
|
||||
CREATE UNIQUE INDEX "identity_credential_types_name_idx" ON "identity_credential_types" (name)
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "identity_credentials"
|
||||
@@ -0,0 +1 @@
|
||||
CREATE UNIQUE INDEX "identity_credential_types_name_idx" ON "identity_credential_types" (name)
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "identity_credential_identifiers"
|
||||
@@ -0,0 +1,11 @@
|
||||
CREATE TABLE "identity_credentials" (
|
||||
"id" UUID NOT NULL,
|
||||
PRIMARY KEY("id"),
|
||||
"config" json NOT NULL,
|
||||
"identity_credential_type_id" UUID NOT NULL,
|
||||
"identity_id" UUID NOT NULL,
|
||||
"created_at" timestamp NOT NULL,
|
||||
"updated_at" timestamp NOT NULL,
|
||||
CONSTRAINT "identity_credentials_identities_id_fk" FOREIGN KEY ("identity_id") REFERENCES "identities" ("id") ON DELETE cascade,
|
||||
CONSTRAINT "identity_credentials_identity_credential_types_id_fk" FOREIGN KEY ("identity_credential_type_id") REFERENCES "identity_credential_types" ("id") ON DELETE cascade
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE `identity_credential_identifiers`
|
||||
@@ -0,0 +1,11 @@
|
||||
CREATE TABLE `identity_credentials` (
|
||||
`id` char(36) NOT NULL,
|
||||
PRIMARY KEY(`id`),
|
||||
`config` JSON NOT NULL,
|
||||
`identity_credential_type_id` char(36) NOT NULL,
|
||||
`identity_id` char(36) NOT NULL,
|
||||
`created_at` DATETIME NOT NULL,
|
||||
`updated_at` DATETIME NOT NULL,
|
||||
FOREIGN KEY (`identity_id`) REFERENCES `identities` (`id`) ON DELETE cascade,
|
||||
FOREIGN KEY (`identity_credential_type_id`) REFERENCES `identity_credential_types` (`id`) ON DELETE cascade
|
||||
) ENGINE=InnoDB
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "identity_credential_identifiers"
|
||||
@@ -0,0 +1,11 @@
|
||||
CREATE TABLE "identity_credentials" (
|
||||
"id" UUID NOT NULL,
|
||||
PRIMARY KEY("id"),
|
||||
"config" jsonb NOT NULL,
|
||||
"identity_credential_type_id" UUID NOT NULL,
|
||||
"identity_id" UUID NOT NULL,
|
||||
"created_at" timestamp NOT NULL,
|
||||
"updated_at" timestamp NOT NULL,
|
||||
FOREIGN KEY ("identity_id") REFERENCES "identities" ("id") ON DELETE cascade,
|
||||
FOREIGN KEY ("identity_credential_type_id") REFERENCES "identity_credential_types" ("id") ON DELETE cascade
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "identity_credential_identifiers"
|
||||
@@ -0,0 +1,10 @@
|
||||
CREATE TABLE "identity_credentials" (
|
||||
"id" TEXT PRIMARY KEY,
|
||||
"config" TEXT NOT NULL,
|
||||
"identity_credential_type_id" char(36) NOT NULL,
|
||||
"identity_id" char(36) NOT NULL,
|
||||
"created_at" DATETIME NOT NULL,
|
||||
"updated_at" DATETIME NOT NULL,
|
||||
FOREIGN KEY (identity_id) REFERENCES identities (id) ON DELETE cascade,
|
||||
FOREIGN KEY (identity_credential_type_id) REFERENCES identity_credential_types (id) ON DELETE cascade
|
||||
)
|
||||
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE "identity_credential_identifiers" (
|
||||
"id" UUID NOT NULL,
|
||||
PRIMARY KEY("id"),
|
||||
"identifier" VARCHAR (255) NOT NULL,
|
||||
"identity_credential_id" UUID NOT NULL,
|
||||
"created_at" timestamp NOT NULL,
|
||||
"updated_at" timestamp NOT NULL,
|
||||
CONSTRAINT "identity_credential_identifiers_identity_credentials_id_fk" FOREIGN KEY ("identity_credential_id") REFERENCES "identity_credentials" ("id") ON DELETE cascade
|
||||
)
|
||||
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE `identity_credential_identifiers` (
|
||||
`id` char(36) NOT NULL,
|
||||
PRIMARY KEY(`id`),
|
||||
`identifier` VARCHAR (255) NOT NULL,
|
||||
`identity_credential_id` char(36) NOT NULL,
|
||||
`created_at` DATETIME NOT NULL,
|
||||
`updated_at` DATETIME NOT NULL,
|
||||
FOREIGN KEY (`identity_credential_id`) REFERENCES `identity_credentials` (`id`) ON DELETE cascade
|
||||
) ENGINE=InnoDB
|
||||
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE "identity_credential_identifiers" (
|
||||
"id" UUID NOT NULL,
|
||||
PRIMARY KEY("id"),
|
||||
"identifier" VARCHAR (255) NOT NULL,
|
||||
"identity_credential_id" UUID NOT NULL,
|
||||
"created_at" timestamp NOT NULL,
|
||||
"updated_at" timestamp NOT NULL,
|
||||
FOREIGN KEY ("identity_credential_id") REFERENCES "identity_credentials" ("id") ON DELETE cascade
|
||||
)
|
||||
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE "identity_credential_identifiers" (
|
||||
"id" TEXT PRIMARY KEY,
|
||||
"identifier" TEXT NOT NULL,
|
||||
"identity_credential_id" char(36) NOT NULL,
|
||||
"created_at" DATETIME NOT NULL,
|
||||
"updated_at" DATETIME NOT NULL,
|
||||
FOREIGN KEY (identity_credential_id) REFERENCES identity_credentials (id) ON DELETE cascade
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
CREATE UNIQUE INDEX "identity_credential_identifiers_identifier_idx" ON "identity_credential_identifiers" (identifier);
|
||||
@@ -0,0 +1 @@
|
||||
CREATE UNIQUE INDEX `identity_credential_identifiers_identifier_idx` ON `identity_credential_identifiers` (`identifier`);
|
||||
@@ -0,0 +1 @@
|
||||
CREATE UNIQUE INDEX "identity_credential_identifiers_identifier_idx" ON "identity_credential_identifiers" (identifier);
|
||||
@@ -0,0 +1 @@
|
||||
CREATE UNIQUE INDEX "identity_credential_identifiers_identifier_idx" ON "identity_credential_identifiers" (identifier);
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "selfservice_profile_management_requests";
|
||||
@@ -0,0 +1,11 @@
|
||||
CREATE TABLE "selfservice_login_requests" (
|
||||
"id" UUID NOT NULL,
|
||||
PRIMARY KEY("id"),
|
||||
"request_url" VARCHAR (2048) NOT NULL,
|
||||
"issued_at" timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"expires_at" timestamp NOT NULL,
|
||||
"active_method" VARCHAR (32) NOT NULL,
|
||||
"csrf_token" VARCHAR (255) NOT NULL,
|
||||
"created_at" timestamp NOT NULL,
|
||||
"updated_at" timestamp NOT NULL
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE `selfservice_profile_management_requests`;
|
||||
@@ -0,0 +1,11 @@
|
||||
CREATE TABLE `selfservice_login_requests` (
|
||||
`id` char(36) NOT NULL,
|
||||
PRIMARY KEY(`id`),
|
||||
`request_url` VARCHAR (2048) NOT NULL,
|
||||
`issued_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`expires_at` DATETIME NOT NULL,
|
||||
`active_method` VARCHAR (32) NOT NULL,
|
||||
`csrf_token` VARCHAR (255) NOT NULL,
|
||||
`created_at` DATETIME NOT NULL,
|
||||
`updated_at` DATETIME NOT NULL
|
||||
) ENGINE=InnoDB
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "selfservice_profile_management_requests";
|
||||
@@ -0,0 +1,11 @@
|
||||
CREATE TABLE "selfservice_login_requests" (
|
||||
"id" UUID NOT NULL,
|
||||
PRIMARY KEY("id"),
|
||||
"request_url" VARCHAR (2048) NOT NULL,
|
||||
"issued_at" timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"expires_at" timestamp NOT NULL,
|
||||
"active_method" VARCHAR (32) NOT NULL,
|
||||
"csrf_token" VARCHAR (255) NOT NULL,
|
||||
"created_at" timestamp NOT NULL,
|
||||
"updated_at" timestamp NOT NULL
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "selfservice_profile_management_requests";
|
||||
@@ -0,0 +1,10 @@
|
||||
CREATE TABLE "selfservice_login_requests" (
|
||||
"id" TEXT PRIMARY KEY,
|
||||
"request_url" TEXT NOT NULL,
|
||||
"issued_at" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"expires_at" DATETIME NOT NULL,
|
||||
"active_method" TEXT NOT NULL,
|
||||
"csrf_token" TEXT NOT NULL,
|
||||
"created_at" DATETIME NOT NULL,
|
||||
"updated_at" DATETIME NOT NULL
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "selfservice_registration_requests"
|
||||
@@ -0,0 +1,10 @@
|
||||
CREATE TABLE "selfservice_login_request_methods" (
|
||||
"id" UUID NOT NULL,
|
||||
PRIMARY KEY("id"),
|
||||
"method" VARCHAR (32) NOT NULL,
|
||||
"selfservice_login_request_id" UUID NOT NULL,
|
||||
"config" json NOT NULL,
|
||||
"created_at" timestamp NOT NULL,
|
||||
"updated_at" timestamp NOT NULL,
|
||||
CONSTRAINT "selfservice_login_request_methods_selfservice_login_requests_id_fk" FOREIGN KEY ("selfservice_login_request_id") REFERENCES "selfservice_login_requests" ("id") ON DELETE cascade
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE `selfservice_registration_requests`
|
||||
@@ -0,0 +1,10 @@
|
||||
CREATE TABLE `selfservice_login_request_methods` (
|
||||
`id` char(36) NOT NULL,
|
||||
PRIMARY KEY(`id`),
|
||||
`method` VARCHAR (32) NOT NULL,
|
||||
`selfservice_login_request_id` char(36) NOT NULL,
|
||||
`config` JSON NOT NULL,
|
||||
`created_at` DATETIME NOT NULL,
|
||||
`updated_at` DATETIME NOT NULL,
|
||||
FOREIGN KEY (`selfservice_login_request_id`) REFERENCES `selfservice_login_requests` (`id`) ON DELETE cascade
|
||||
) ENGINE=InnoDB
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "selfservice_registration_requests"
|
||||
@@ -0,0 +1,10 @@
|
||||
CREATE TABLE "selfservice_login_request_methods" (
|
||||
"id" UUID NOT NULL,
|
||||
PRIMARY KEY("id"),
|
||||
"method" VARCHAR (32) NOT NULL,
|
||||
"selfservice_login_request_id" UUID NOT NULL,
|
||||
"config" jsonb NOT NULL,
|
||||
"created_at" timestamp NOT NULL,
|
||||
"updated_at" timestamp NOT NULL,
|
||||
FOREIGN KEY ("selfservice_login_request_id") REFERENCES "selfservice_login_requests" ("id") ON DELETE cascade
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "selfservice_registration_requests"
|
||||
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE "selfservice_login_request_methods" (
|
||||
"id" TEXT PRIMARY KEY,
|
||||
"method" TEXT NOT NULL,
|
||||
"selfservice_login_request_id" char(36) NOT NULL,
|
||||
"config" TEXT NOT NULL,
|
||||
"created_at" DATETIME NOT NULL,
|
||||
"updated_at" DATETIME NOT NULL,
|
||||
FOREIGN KEY (selfservice_login_request_id) REFERENCES selfservice_login_requests (id) ON DELETE cascade
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "selfservice_registration_request_methods"
|
||||
@@ -0,0 +1,11 @@
|
||||
CREATE TABLE "selfservice_registration_requests" (
|
||||
"id" UUID NOT NULL,
|
||||
PRIMARY KEY("id"),
|
||||
"request_url" VARCHAR (2048) NOT NULL,
|
||||
"issued_at" timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"expires_at" timestamp NOT NULL,
|
||||
"active_method" VARCHAR (32) NOT NULL,
|
||||
"csrf_token" VARCHAR (255) NOT NULL,
|
||||
"created_at" timestamp NOT NULL,
|
||||
"updated_at" timestamp NOT NULL
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE `selfservice_registration_request_methods`
|
||||
@@ -0,0 +1,11 @@
|
||||
CREATE TABLE `selfservice_registration_requests` (
|
||||
`id` char(36) NOT NULL,
|
||||
PRIMARY KEY(`id`),
|
||||
`request_url` VARCHAR (2048) NOT NULL,
|
||||
`issued_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`expires_at` DATETIME NOT NULL,
|
||||
`active_method` VARCHAR (32) NOT NULL,
|
||||
`csrf_token` VARCHAR (255) NOT NULL,
|
||||
`created_at` DATETIME NOT NULL,
|
||||
`updated_at` DATETIME NOT NULL
|
||||
) ENGINE=InnoDB
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "selfservice_registration_request_methods"
|
||||
@@ -0,0 +1,11 @@
|
||||
CREATE TABLE "selfservice_registration_requests" (
|
||||
"id" UUID NOT NULL,
|
||||
PRIMARY KEY("id"),
|
||||
"request_url" VARCHAR (2048) NOT NULL,
|
||||
"issued_at" timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"expires_at" timestamp NOT NULL,
|
||||
"active_method" VARCHAR (32) NOT NULL,
|
||||
"csrf_token" VARCHAR (255) NOT NULL,
|
||||
"created_at" timestamp NOT NULL,
|
||||
"updated_at" timestamp NOT NULL
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "selfservice_registration_request_methods"
|
||||
@@ -0,0 +1,10 @@
|
||||
CREATE TABLE "selfservice_registration_requests" (
|
||||
"id" TEXT PRIMARY KEY,
|
||||
"request_url" TEXT NOT NULL,
|
||||
"issued_at" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"expires_at" DATETIME NOT NULL,
|
||||
"active_method" TEXT NOT NULL,
|
||||
"csrf_token" TEXT NOT NULL,
|
||||
"created_at" DATETIME NOT NULL,
|
||||
"updated_at" DATETIME NOT NULL
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "selfservice_login_requests"
|
||||
@@ -0,0 +1,10 @@
|
||||
CREATE TABLE "selfservice_registration_request_methods" (
|
||||
"id" UUID NOT NULL,
|
||||
PRIMARY KEY("id"),
|
||||
"method" VARCHAR (32) NOT NULL,
|
||||
"selfservice_registration_request_id" UUID NOT NULL,
|
||||
"config" json NOT NULL,
|
||||
"created_at" timestamp NOT NULL,
|
||||
"updated_at" timestamp NOT NULL,
|
||||
CONSTRAINT "selfservice_registration_request_methods_selfservice_registration_requests_id_fk" FOREIGN KEY ("selfservice_registration_request_id") REFERENCES "selfservice_registration_requests" ("id") ON DELETE cascade
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE `selfservice_login_requests`
|
||||
@@ -0,0 +1,10 @@
|
||||
CREATE TABLE `selfservice_registration_request_methods` (
|
||||
`id` char(36) NOT NULL,
|
||||
PRIMARY KEY(`id`),
|
||||
`method` VARCHAR (32) NOT NULL,
|
||||
`selfservice_registration_request_id` char(36) NOT NULL,
|
||||
`config` JSON NOT NULL,
|
||||
`created_at` DATETIME NOT NULL,
|
||||
`updated_at` DATETIME NOT NULL,
|
||||
FOREIGN KEY (`selfservice_registration_request_id`) REFERENCES `selfservice_registration_requests` (`id`) ON DELETE cascade
|
||||
) ENGINE=InnoDB
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "selfservice_login_requests"
|
||||
@@ -0,0 +1,10 @@
|
||||
CREATE TABLE "selfservice_registration_request_methods" (
|
||||
"id" UUID NOT NULL,
|
||||
PRIMARY KEY("id"),
|
||||
"method" VARCHAR (32) NOT NULL,
|
||||
"selfservice_registration_request_id" UUID NOT NULL,
|
||||
"config" jsonb NOT NULL,
|
||||
"created_at" timestamp NOT NULL,
|
||||
"updated_at" timestamp NOT NULL,
|
||||
FOREIGN KEY ("selfservice_registration_request_id") REFERENCES "selfservice_registration_requests" ("id") ON DELETE cascade
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "selfservice_login_requests"
|
||||
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE "selfservice_registration_request_methods" (
|
||||
"id" TEXT PRIMARY KEY,
|
||||
"method" TEXT NOT NULL,
|
||||
"selfservice_registration_request_id" char(36) NOT NULL,
|
||||
"config" TEXT NOT NULL,
|
||||
"created_at" DATETIME NOT NULL,
|
||||
"updated_at" DATETIME NOT NULL,
|
||||
FOREIGN KEY (selfservice_registration_request_id) REFERENCES selfservice_registration_requests (id) ON DELETE cascade
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "selfservice_login_request_methods"
|
||||
@@ -0,0 +1,13 @@
|
||||
CREATE TABLE "selfservice_profile_management_requests" (
|
||||
"id" UUID NOT NULL,
|
||||
PRIMARY KEY("id"),
|
||||
"request_url" VARCHAR (2048) NOT NULL,
|
||||
"issued_at" timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"expires_at" timestamp NOT NULL,
|
||||
"form" json NOT NULL,
|
||||
"update_successful" bool NOT NULL,
|
||||
"identity_id" UUID NOT NULL,
|
||||
"created_at" timestamp NOT NULL,
|
||||
"updated_at" timestamp NOT NULL,
|
||||
CONSTRAINT "selfservice_profile_management_requests_identities_id_fk" FOREIGN KEY ("identity_id") REFERENCES "identities" ("id") ON DELETE cascade
|
||||
);
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE `selfservice_login_request_methods`
|
||||
@@ -0,0 +1,13 @@
|
||||
CREATE TABLE `selfservice_profile_management_requests` (
|
||||
`id` char(36) NOT NULL,
|
||||
PRIMARY KEY(`id`),
|
||||
`request_url` VARCHAR (2048) NOT NULL,
|
||||
`issued_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`expires_at` DATETIME NOT NULL,
|
||||
`form` JSON NOT NULL,
|
||||
`update_successful` bool NOT NULL,
|
||||
`identity_id` char(36) NOT NULL,
|
||||
`created_at` DATETIME NOT NULL,
|
||||
`updated_at` DATETIME NOT NULL,
|
||||
FOREIGN KEY (`identity_id`) REFERENCES `identities` (`id`) ON DELETE cascade
|
||||
) ENGINE=InnoDB;
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "selfservice_login_request_methods"
|
||||
@@ -0,0 +1,13 @@
|
||||
CREATE TABLE "selfservice_profile_management_requests" (
|
||||
"id" UUID NOT NULL,
|
||||
PRIMARY KEY("id"),
|
||||
"request_url" VARCHAR (2048) NOT NULL,
|
||||
"issued_at" timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"expires_at" timestamp NOT NULL,
|
||||
"form" jsonb NOT NULL,
|
||||
"update_successful" bool NOT NULL,
|
||||
"identity_id" UUID NOT NULL,
|
||||
"created_at" timestamp NOT NULL,
|
||||
"updated_at" timestamp NOT NULL,
|
||||
FOREIGN KEY ("identity_id") REFERENCES "identities" ("id") ON DELETE cascade
|
||||
);
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "selfservice_login_request_methods"
|
||||
@@ -0,0 +1,12 @@
|
||||
CREATE TABLE "selfservice_profile_management_requests" (
|
||||
"id" TEXT PRIMARY KEY,
|
||||
"request_url" TEXT NOT NULL,
|
||||
"issued_at" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"expires_at" DATETIME NOT NULL,
|
||||
"form" TEXT NOT NULL,
|
||||
"update_successful" bool NOT NULL,
|
||||
"identity_id" char(36) NOT NULL,
|
||||
"created_at" DATETIME NOT NULL,
|
||||
"updated_at" DATETIME NOT NULL,
|
||||
FOREIGN KEY (identity_id) REFERENCES identities (id) ON DELETE cascade
|
||||
);
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "sessions";
|
||||
@@ -0,0 +1,11 @@
|
||||
CREATE TABLE "sessions" (
|
||||
"id" UUID NOT NULL,
|
||||
PRIMARY KEY("id"),
|
||||
"issued_at" timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"expires_at" timestamp NOT NULL,
|
||||
"authenticated_at" timestamp NOT NULL,
|
||||
"identity_id" UUID NOT NULL,
|
||||
"created_at" timestamp NOT NULL,
|
||||
"updated_at" timestamp NOT NULL,
|
||||
CONSTRAINT "sessions_identities_id_fk" FOREIGN KEY ("identity_id") REFERENCES "identities" ("id") ON DELETE cascade
|
||||
);
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE `sessions`;
|
||||
@@ -0,0 +1,11 @@
|
||||
CREATE TABLE `sessions` (
|
||||
`id` char(36) NOT NULL,
|
||||
PRIMARY KEY(`id`),
|
||||
`issued_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`expires_at` DATETIME NOT NULL,
|
||||
`authenticated_at` DATETIME NOT NULL,
|
||||
`identity_id` char(36) NOT NULL,
|
||||
`created_at` DATETIME NOT NULL,
|
||||
`updated_at` DATETIME NOT NULL,
|
||||
FOREIGN KEY (`identity_id`) REFERENCES `identities` (`id`) ON DELETE cascade
|
||||
) ENGINE=InnoDB;
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "sessions";
|
||||
@@ -0,0 +1,11 @@
|
||||
CREATE TABLE "sessions" (
|
||||
"id" UUID NOT NULL,
|
||||
PRIMARY KEY("id"),
|
||||
"issued_at" timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"expires_at" timestamp NOT NULL,
|
||||
"authenticated_at" timestamp NOT NULL,
|
||||
"identity_id" UUID NOT NULL,
|
||||
"created_at" timestamp NOT NULL,
|
||||
"updated_at" timestamp NOT NULL,
|
||||
FOREIGN KEY ("identity_id") REFERENCES "identities" ("id") ON DELETE cascade
|
||||
);
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "sessions";
|
||||
@@ -0,0 +1,10 @@
|
||||
CREATE TABLE "sessions" (
|
||||
"id" TEXT PRIMARY KEY,
|
||||
"issued_at" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"expires_at" DATETIME NOT NULL,
|
||||
"authenticated_at" DATETIME NOT NULL,
|
||||
"identity_id" char(36) NOT NULL,
|
||||
"created_at" DATETIME NOT NULL,
|
||||
"updated_at" DATETIME NOT NULL,
|
||||
FOREIGN KEY (identity_id) REFERENCES identities (id) ON DELETE cascade
|
||||
);
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE "selfservice_errors";
|
||||
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE "selfservice_errors" (
|
||||
"id" UUID NOT NULL,
|
||||
PRIMARY KEY("id"),
|
||||
"errors" json NOT NULL,
|
||||
"seen_at" timestamp NOT NULL,
|
||||
"was_seen" bool NOT NULL,
|
||||
"created_at" timestamp NOT NULL,
|
||||
"updated_at" timestamp NOT NULL
|
||||
);
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE `selfservice_errors`;
|
||||
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE `selfservice_errors` (
|
||||
`id` char(36) NOT NULL,
|
||||
PRIMARY KEY(`id`),
|
||||
`errors` JSON NOT NULL,
|
||||
`seen_at` DATETIME NOT NULL,
|
||||
`was_seen` bool NOT NULL,
|
||||
`created_at` DATETIME NOT NULL,
|
||||
`updated_at` DATETIME NOT NULL
|
||||
) ENGINE=InnoDB;
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user