CREATE TABLE "operation_receipts" ( "id" text PRIMARY KEY NOT NULL, "event_id" uuid NOT NULL REFERENCES "events"("id") ON DELETE CASCADE, "user_id" text NOT NULL REFERENCES "user"("id") ON DELETE CASCADE, "request_hash" text NOT NULL, "result" jsonb NOT NULL, "created_at" timestamp with time zone DEFAULT now() NOT NULL );