Files
Termix/plugins/sso/migrations/postgres/0001_adopt_sso_providers.sql
T

15 lines
508 B
SQL

-- sso 0001: adopt_sso_providers
-- Generated by termix-plugin migrations. Review before committing.
CREATE TABLE IF NOT EXISTS "sso_providers" (
"id" serial PRIMARY KEY,
"name" text NOT NULL,
"type" text NOT NULL,
"enabled" boolean NOT NULL DEFAULT true,
"display_order" integer NOT NULL DEFAULT 0,
"config" text NOT NULL,
"created_at" text NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updated_at" text NOT NULL DEFAULT CURRENT_TIMESTAMP
);
ALTER TABLE "sso_providers" RENAME TO "p_sso_providers";