-- CreateTable
CREATE TABLE "data_requests" (
    "created_at" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
    "id" TEXT NOT NULL PRIMARY KEY,
    "originating_user" INTEGER,
    "status" TEXT NOT NULL,
    "target_user" INTEGER NOT NULL,
    "type" TEXT NOT NULL
);

-- CreateIndex
CREATE UNIQUE INDEX "data_requests_id_key" ON "data_requests"("id");

-- CreateIndex
CREATE INDEX "idx_data_requests_created_at" ON "data_requests"("created_at");
