Skip to content

new tables in database #93

Discussion options

You must be logged in to vote

In theory you could add an endpoint to run the table registration

@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 register_table_catalog but this might slow down the application.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MiroslavHrcan
Comment options

Answer selected by vincentsarago
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants