We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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?
The text was updated successfully, but these errors were encountered:
-conn?
Sorry, something went wrong.
Yes sorry -conn.. how do I put environment variables inside the connection?
I check the docs but do not find the related usage case. But I think you can use the linux command like -conn=(cat >xxx).
-conn=(cat >xxx)
sorry, I am not good at linux command, you can google it.
No branches or pull requests
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?
The text was updated successfully, but these errors were encountered: