Skip to content

Rayfin up db apply --force Does not Work #20

@AustinMReppert

Description

@AustinMReppert

What happened?

Based on the command output I think the force option is not being propagated to DAB. I expected force to bring the DB into the correct state, even if that implies data loss.

"Failed to apply configuration to remote endpoint DAB server responded with error: 400. Details: Performing Drop table 'Tablename' migration would result in data loss but force mode is not enabled. Set 'force' to true in the request can allow the operation."

Steps to reproduce

  1. Manually ake a change in the sql db.
  2. Run rayfin up db apply --force

Environment

No response

Logs or screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions