feat: update authentication imports and migrate to new db package structure

This commit is contained in:
Maze Winther
2025-06-24 11:05:20 +02:00
parent 0ebab57aaa
commit e9889b8fa7
5 changed files with 998 additions and 4 deletions

View File

@ -1,6 +1,6 @@
import { NextRequest, NextResponse } from "next/server";
import { db } from "@/lib/db";
import { waitlist } from "@/lib/db/schema";
import { db } from "@opencut/db";
import { waitlist } from "@opencut/db/schema";
import { eq } from "drizzle-orm";
import { nanoid } from "nanoid";
import { waitlistRateLimit } from "@/lib/rate-limit";