#access application storage from database

1 messages · Page 1 of 1 (latest)

misty narwhal
#

i have a small object with a storage key in application.

but need it accessible from within migration, meaning database. how do?

i figured it would be some similar steps as conforming request by extending it as it has been done with application but cant figure it out right away to do the same for database

#

tldr i need access to storage but only possible through application/request. how can i have it anyways from database

misty narwhal
#

i checked database for a while.
it seems the only place to put additional load is on databasecontext

#

but dont know how well that fares with current implementations in regard of the nature of connection pools and their fragile state.

deft willow
#

if it’s for migration only you can store app on the migration and init the migration with app

sick flint
#

Yeah just pass the object into the migration