chore: cleanup mssql and sync dependencies

This commit is contained in:
DarkPhoenix2704
2025-06-10 10:33:08 +00:00
parent e331856313
commit e305992431
122 changed files with 83 additions and 5612 deletions

View File

@@ -69,10 +69,6 @@ export const clientTypes = [
text: 'MySql',
value: ClientType.MYSQL,
},
{
text: 'MSSQL',
value: ClientType.MSSQL,
},
{
text: 'PostgreSQL',
value: ClientType.PG,
@@ -131,13 +127,6 @@ const sampleConnectionData: { [key in ConnectionClientType]: DefaultConnection }
password: 'password',
database: '_test',
},
[ClientType.MSSQL]: {
host: defaultHost,
port: 1433,
user: 'sa',
password: 'Password123.',
database: '_test',
},
[ClientType.SQLITE]: {
client: ClientType.SQLITE,
database: homeDir,
@@ -209,11 +198,7 @@ export const getDefaultConnectionConfig = (client: ClientType): ProjectCreateFor
return {
client,
connection: sampleConnectionData[client],
searchPath: [ClientType.PG, ClientType.MSSQL].includes(client)
? client === ClientType.PG
? ['public']
: ['dbo']
: undefined,
searchPath: [ClientType.PG].includes(client) ? (client === ClientType.PG ? ['public'] : ['dbo']) : undefined,
}
}