CREATE TABLE "sessions" (
    "uid" UUID NOT NULL REFERENCES "users"("uid") ON DELETE CASCADE,
    "token" TEXT NOT NULL PRIMARY KEY,
    "created_at" TIMESTAMPTZ NOT NULL DEFAULT NOW(),
    "updated_at" TIMESTAMPTZ NOT NULL DEFAULT NOW(),
    "expires_at" TIMESTAMPTZ NOT NULL DEFAULT NOW() + INTERVAL '7 days'
);
