new tables in database #93
Answered
by
vincentsarago
MiroslavHrcan
asked this question in
General
-
Is there some nice way to reconnect to database when TiMVT is deployed as docker container? When I restart container, TiMVT sees new tables, but as I am planning to deploy it on AWS via ECS and don't want to re-visioning task each time I add a data into database. |
Beta Was this translation helpful? Give feedback.
Answered by
vincentsarago
Aug 16, 2022
Replies: 1 comment 1 reply
-
In theory you could add an endpoint to run the @app.get("/register", include_in_schema=False)
async def register_table(request: Request):
await register_table_catalog(request.app) see developmentseed/tifeatures#49 (comment) Or you could add a middleware that call |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
vincentsarago
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In theory you could add an endpoint to run the
table registration
see developmentseed/tifeatures#49 (comment)
Or you could add a middleware that call
register_table_catalog
but this might slow down the application.