add: better table with connection details

This commit is contained in:
2024-05-07 22:42:09 +02:00
parent b475be1cbd
commit a5b2975f38
12 changed files with 638 additions and 120 deletions

View File

@@ -10,7 +10,7 @@ export async function deployDatabase(config: IDatabaseConfig) {
const database = await prisma.database.create({
data: {
name: config.name,
provider: DatabaseProvider.REDIS,
provider: config.provider.id.toUpperCase() as DatabaseProvider,
password: config.user.password,
username: config.user.username,
workspaceId: config.workspaceId,