Skip to content

Update project from database - Schema Compare Apply failed 'Invalid enum value encountered File' #25334

Open
@zijchen

Description

@zijchen

Version: 1.48.0-insider (user setup)
Commit: 8a715ed
Date: 2024-02-15T12:58:00.069Z
VS Code: 1.82.0
Electron: 25.9.8
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.22631

Steps to Reproduce:

  1. Create a database, add anything to it (table, user, as long as it's not empty)
  2. Create a database project
  3. Right click on project -> Update Project From Database
  4. Under "Folder Structure", select "File"
  5. Under "Update Action", select "View changes in Schema Compare"
    image
  6. Once schema comparison is done, clicking "Apply" changes results in this error
    image

If we apply changes directly, the sql file is created successfully but the error still shows in Tasks.

Does this issue occur when all extensions are disabled?: Yes/No

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions