Skip to content

Unable to share default connection between developers #855

@bilogic

Description

@bilogic

After responding to #840 and #841, the problem scope has gotten clearer

What

  1. The default connection is stored by database name in the .code-workspace, this makes the default connection unsharable among developers
    "dbcode.workspaceConnection": {
        "id": "xxxxxxxxxxxxxxx",
        "database": "database_of_specific_developer"
    }
  2. It would be helpful if DBCode can use information discovered from .env as the default workspace connection

Why (problem/use case)

  1. Each project of ours have 1 VSCode .code-workspace which is committed to git and shared among all developers
  2. This file does not include the database credentials, which is stored in a .env and not committed to git
  3. This allows us to share common details while keeping the sensitive ones different, i.e. DB credentials

Additional Context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions