Open Closed

dbmigrator error for LastLoginDate #4269


User avatar
0
Repunjay created

after adding "IsActive" property to abpusers and ran the dbmigrator project, getting the attached error.

Please suggest on this.

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: vX.X.X
  • UI type: Angular / MVC / Blazor
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

11 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    after adding "IsActive" property to abpusers and ran the dbmigrator project, getting the attached error.

    Did you add new migrations? Will the error still occur if change the connection string to a new database?

    You can also try to delete all migrations and create a new one to test.


    If it still doesn't solve the problem, how to reproduce it with a new project?

  • User Avatar
    0
    Repunjay created

    after adding "IsActive" property to abpusers and ran the dbmigrator project, getting the attached error.

    Did you add new migrations? Will the error still occur if change the connection string to a new database?

    You can also try to delete all migrations and create a new one to test.


    If it still doesn't solve the problem, how to reproduce it with a new project?

    New Migration Added. Connection string modified to new database. tried by deleting earlier migration but not working, please see the screen shot for the migration files.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    If it still doesn't solve the problem, how to reproduce it with a new project?

    liming.ma@volosoft.com

  • User Avatar
    0
    Repunjay created

    after adding "IsActive" property to abpusers and ran the dbmigrator project, getting the attached error.

    Did you add new migrations? Will the error still occur if change the connection string to a new database?

    You can also try to delete all migrations and create a new one to test.


    If it still doesn't solve the problem, how to reproduce it with a new project?

    do you want me to delete initial Migration also?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    You can have a try.

  • User Avatar
    0
    Repunjay created

    You can have a try. after deleting all migration files including initial also I am getting above identity related db table AppHolidayCalendarDetail issue.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    How can I reproduce your problem?

  • User Avatar
    0
    Repunjay created
    1. Removed all migrations and tried, same error.
    2. Removed all migrations except initial migration and tried, same error.
    3. Removed the table "AppCountryCodes" and created & ran the migrations, same error.
    4. Removed the table AppHolidayCalendarDetail and created & ran the migrations, same error.
    5. Removed the both tables AppHolidayCalendarDetail & AppCountryCodes then created & ran the new Migration, same error.
    6. Removed the Migrations step by step and tried, but same error.

    I have tried all the above things by restoring the "Litmus_Admin_6_0" database using back file also, but the same error its giving.

    Reproducing of the error in sample project, I too don't know, will check and let you know.

    is there any possibility of having a working session tomorrow?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    I remember that your project is very complicated. You can try to reproduce the problem in the template first. Thanks

  • User Avatar
    0
    Repunjay created

    I remember that your project is very complicated. You can try to reproduce the problem in the template first. Thanks

    is there any changes related to tenant admin databases after upgrading to abp 6.0.2 & openIddict?

    I have removed all the Migrations, dbs and pointed to new db connections, after this host database migrations and seed of host database is done but as "SaasTenantConnectionStrings " is not present (as its a new db), it is not migrating & seeding of tenant database.

    after updating the "SaasTenantConnectionStrings" table, I ran the dbmigrator then its displaying errors like tables are presented in host database without going to tenant db.

    what is the solution for this?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Ii's better to use a template project to reproduce the problem.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11