add: better table with connection details
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user