20230503225844.sql 491 B

1234567891011
  1. -- Create "porter_app_revisions" table
  2. CREATE TABLE "public"."porter_app_revisions" (
  3. "id" uuid NOT NULL,
  4. "created_at" timestamptz NOT NULL DEFAULT now(),
  5. "updated_at" timestamptz NOT NULL DEFAULT now(),
  6. "deleted_at" timestamptz NULL,
  7. "base64_contract" text NOT NULL DEFAULT '',
  8. "project_id" bigint NOT NULL,
  9. PRIMARY KEY ("id"),
  10. CONSTRAINT "fk_projects_porter_app_revisions" FOREIGN KEY ("project_id") REFERENCES "public"."projects" ("id") ON UPDATE NO ACTION ON DELETE NO ACTION
  11. );