Link to the repository
[Only for premium members]
[Only for premium members]
The last thing before we start working on the Flutter mobile application is that we want multi-tenancy for our Users. In our case, we want the easiest multi-tenancy option - user_id
filtering. So, let's implement the following:
These are small changes, but they will make our application multi-tenant. Let's start with the global scope.
Let's start with a quick overview of our logic:
user_id
column that relates to the Useruser_id
Let's implement this in our Category model...