can I somehow rerun the flyteadmin init containers or whatever initially creates the tables in the postgres db?
w
wonderful-afternoon-77766
10/18/2022, 6:20 PM
Hi Felix, I’ll get you some assistance soon, thanks for waiting!
t
thankful-minister-83577
10/18/2022, 6:21 PM
you can just kill the pod and the new one should come up
thankful-minister-83577
10/18/2022, 6:21 PM
but can i ask why this is needed?
thankful-minister-83577
10/18/2022, 6:21 PM
migrations will only run once
thankful-minister-83577
10/18/2022, 6:21 PM
once run it saves the migration id to the db and will not run again.
thankful-minister-83577
10/18/2022, 6:22 PM
if you need them to run again you’ll need to blow away the migrations table (carefully)
q
quaint-diamond-37493
10/18/2022, 6:38 PM
thanks.
I'm still playing around with the example flyte-deps and bit by bit replacing that with a proper deployment... so I removed the (non-persistent) example postgres and deployed my own with a pvc...
And needed to trigger migration (creating the tables) again.
Finally did it by running helm upgrade with some other changes I needed...