Add CRUD for other entities

This commit is contained in:
Darren Clarke 2024-04-25 13:36:50 +02:00
parent f87bcc43a5
commit a3e8b89128
64 changed files with 949 additions and 62 deletions

View file

@ -0,0 +1,11 @@
import { WhatsappList } from "./_components/WhatsappList";
import { db } from "@/app/_lib/database";
export const dynamic = "force-dynamic";
export default async function Page() {
const rows = await db.selectFrom("WhatsappBot").selectAll().execute();
console.log(rows);
return <WhatsappList rows={rows} />;
}