import { Card, CardContent } from "@/components/ui/card"; import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from "@/components/ui/table"; import { Badge } from "@/components/ui/badge"; import { Key, Link } from "lucide-react"; import { Label } from "../ui/label"; interface Field { name: string; type: string; description: string; isPrimaryKey?: boolean; isForeignKey?: boolean; } interface DatabaseTableProps { fields: Field[]; } export default function DatabaseTable({ fields }: DatabaseTableProps) { return (