Flask-Tenants / flask-tenants

Multitenancy solution using Flask, SQLAlchemy, and PostgreSQL. Please join our Discord server at https://discord.gg/3AV2GkcB2Q.
MIT License
4 stars 4 forks source link

There is a caching issue that presents itself during post creation in the demo app. #28

Closed therealwokewok closed 2 weeks ago

therealwokewok commented 3 weeks ago
  1. Starting with a clean, post-migration database, run the following requests:

    image

    image

    image

    image

  2. Check the database manually and observe that tenant1 has no posts:

    image

  3. Observe that tenant2 has both posts:

    image

savchenko commented 2 weeks ago

Out of sheer curiosity, which GUIs are on the screenshots?

therealwokewok commented 2 weeks ago

@savchenko These are screenshots from the Postman file provided in the demo_app. The final database screenshot is from an application called DBeaver.

Here is a link to the Postman JSON in the demo_app repo: https://github.com/Flask-Tenants/demo_app/tree/main/documentation