Skip to content

void db push: pressing Escape at the data-loss confirmation applies the changes #939

Backlog

Description

@hyfdev

Pressing Escape at void db push's data-loss confirmation drops the table anyway, the same as choosing "Yes", and Void reports success:

Do you still want to push changes?
❯ No, abort
  Yes, I want to remove 1 table
[✓] Changes applied

✓ Database schema pushed.

The prompt comes from Drizzle Kit, whose push commands treat Escape as a confirmation: drizzle-team/drizzle-orm#6745.

Void depends on drizzle-kit ^0.31.11, which has the bug, and so does 1.0.0-rc.6.

Until it's fixed upstream, choose "No, abort" to cancel a push.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions