Skip to content

Why can't I run migrations with bee tool -conn with environment variables #860

Description

@TheNickFury

Hello guys, I'm new to using Beego. I'm trying to use migrations via the command line

bee migrate -driver=postgres -con="host=$host user=$user"

go 1.20.6 bee 2.1.0

but I'm currently struggling to insert environment variables.

Is it possible?

I'm probably doing something wrong... Is there another way to perform migrations? Perhaps using the orm.RunSyncdb method?

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions