Skip to content

Fedora environment variable VERSION=0 causes Rails db migration reverting #530

@bullfrogliu

Description

@bullfrogliu

Container platform

OCP 4

Version

Fedora

OS version of the container image

Fedora

Bugzilla, Jira

No response

Description

In Rails, it support this ENV when running migrations: bin/rails db:migrate VERSION=20080906120000

In Fedora images, it has VERSION=0 in the dockerfile which makes the target version 0 and reverting all the db migrations

Reproducer

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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