Adding mysql support.

This commit is contained in:
charlesgauthereau
2025-11-01 23:16:32 +01:00
parent 5251e01011
commit 2fdd9f1296
9 changed files with 1388 additions and 14 deletions
@@ -70,7 +70,7 @@ export const SettingsStorageTab = (props: SettingsStorageTabProps) => {
<AlertDescription>
Actually you can only store you data in one place : s3 compatible or in local. For exemple you
cannot choose to store images in one place
and .dump files in another.
and backups files in another.
</AlertDescription>
</Alert>
<div className="flex flex-col h-full py-4 ">
@@ -32,11 +32,9 @@ export const DatabaseCard = (props: databaseCardProps) => {
const { data: database } = props;
return (
<Card className="flex flex-row justify-between">
<div className="flex items-center space-x-4 px-4">
<Image src="/images/postgresql.png" alt="Database type Icon" width={60} height={60} className="object-cover ml-4" />
<Image src={`/images/${database.dbms}.png`} alt="Database type Icon" width={60} height={60} className="object-cover ml-4" />
<div className="justify-between">
<div className="font-medium">Name: {database.name}</div>
<div className="text-sm text-muted-foreground">Generated Id: {database.agentDatabaseId}</div>