Base solution for your next web application
Open Closed

Step by Step guide. Quick Questions and Suggestion? #2128


User avatar
0
hugol created

In the following guide: [https://aspnetzero.com/Documents/Developing-Step-By-Step-MPA#adding-a-new-page])

It's suggested to use the "Update-Database" method. For people using Multi Tenancy, multi databases (1 database per tenant), shouldn't we use the Migrator instead to apply the changes to all the tenant databases?

Thanks HugoL


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You are right, if you have seperate databases, you need to run Migrator tool. But this document is prepared for beginners and we didn't think about it.

    Anyway, we will consider this, thanks for your valuable suggestions :).

  • User Avatar
    0
    hugol created

    You welcome.

    I understand your point of view. Perhaps just adding a recommendation something like "if you are using one database per tenant (Multi Database) you should use the Migration Tool to update all the databases.

    Cheers, HugoL

  • User Avatar
    0
    ismcagdas created
    Support Team

    Yes, I was thinking the same thing :)