Activities of "maliming"

hi

I do not fully understand your question.

What's the problem now? How to reproduce?

Can you explain more?

Thanks.


How To Add New Migration?

This solution configured so it uses two database schema;

  • Default schema is used to store host & tenant data (when the tenant uses shared database).
  • Tenant schema is used to store only the tenant data (when the tenant uses a dedicated database).

In this way, dedicated tenant databases do not have host-related empty tables.

To make this possible, there are two migrations DbContext in the EntityFrameworkCore project. So, you need to specify the DbContext when you want to add new migration.

When you add/change a multi-tenant entity (that implements IMultiTenant) in your project, you typically need to add two migrations: one for the default DbContext and the other one is for the tenant DbContext. If you are making change for a host-only entity, then you don't need to add-migration for the tenant DbContext (if you add, you will get an empty migration file).

Example: Adding Migration to the Default DbContext

Using Visual Studio Package Manager Console;

Add-Migration Your_Migration_Name -Context MyProjectNameDbContext

Using EF Core command line tool;

dotnet ef migrations add Your_Migration_Name --context MyProjectNameDbContext

Example: Adding Migration to the Tenant DbContext

Using Visual Studio Package Manager Console:

Add-Migration Your_Migration_Name -Context MyProjectNameTenantDbContext -OutputDir TenantMigrations

Using EF Core command line tool:

dotnet ef migrations add Your_Migration_Name --context MyProjectNameTenantDbContext --output-dir TenantMigrations

Updating the Databases

It is suggested to run the DbMigrator application to update the database after adding a new migration. It is simpler and also automatically handles tenant database upgrades.

hi

Can you test this in a new 8.3 template project?

Then, share the screenshot if there is still a problem.

Thanks.

: )

Can this URL (https://localhost:44336/api/abp/application-configuration?IncludeLocalizationResources=False&api-version=1.0) reached on your browser?

Do you have a valid HTTPS certificate?

https://abp.io/docs/latest/Deployment/SSL

Please share logs of web, API, and autherver projects.

Thanks.

hi

You can disable it if you don't need to use it, there is no impact.

Great

hi

Please try dotnet tool install --global Volo.Abp.Studio.Cli --version 0.7.9 -v d

hi

This feature available after 7.3.0

https://abp.io/blog/ABP.IO-Platform-7-3-RC-Has-Been-Published

hi

'The 'client secret' parameter is not valid for this client application.

Please share the 'CustomsOnline App' row data in the database. and your OAuth configuration in angular.

Thanks.

: )

Showing 131 to 140 of 7733 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30