Open TheNickFury opened 1 year ago
-conn?
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)
.
sorry, I am not good at linux command, you can google it.
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?