message: Make database configuration relative to the workspace root
diff: import { EXT_NAME } from '@sqltools/core/constants';
  import { getConnectionId } from '@sqltools/core/utils';
  import WebviewProvider from '@sqltools/plugins/connection-manager/screens/provider';
  -import { commands, ExtensionContext, Uri } from 'vscode';
  +import { commands, ExtensionContext, Uri, workspace } from 'vscode';
  import path from 'path';
  export default class SettingsWebview extends WebviewProvider {
  @@ -28,6 +28,11 @@ export default class SettingsWebview extends WebviewProvider {
  private updateConnection = async ({ connInfo, isGlobal, editId }) => {
  console.log({ connInfo, isGlobal, editId });
  +
  + if (connInfo.database) {
  + connInfo.database = path.relative(workspace.rootPath, connInfo.database);
  + }
  +
  commands.executeCommand(`${EXT_NAME}.updateConnection`, editId, connInfo, isGlobal ? 'Global' : undefined)
  .then(() => {
  this.postMessage({ action: 'updateConnectionSuccess', payload: { isGlobal, connInfo: { ...connInfo, id: getConnectionId(connInfo) } } });
  @@ -40,6 +45,10 @@ export default class SettingsWebview extends WebviewProvider {
  }
  private createConnection = async ({ connInfo, isGlobal }) => {
  + if (connInfo.database) {
  + connInfo.database = path.relative(workspace.rootPath, connInfo.database);
  + }
  +
  commands.executeCommand(`${EXT_NAME}.addConnection`, connInfo, isGlobal ? 'Global' : undefined)
  .then(() => {
  this.postMessage({ action: 'createConnectionSuccess', payload: { isGlobal, connInfo: { ...connInfo, id: getConnectionId(connInfo) } } });
  