Open Closed

How to add column into table FmFileDescriptors of FileManagement module #1286


User avatar
0
devteam created

Hi support team,

I want to add new column into FmFileDescriptors table.
I have updated FileDescriptor class
image.png
But when i run add-migration 'tableFileDescriptor-addcolumn-IsSign' and update-database in Volo.FileManagement.EntityFrameworkCore project I have error build failed.
image.png
Please show me how to do that in aboth frontend and backend.

  • ABP Framework version: v4.2.2

  • UI type: Angular

  • DB provider: EF Core

  • Tiered (MVC) or Identity Server Separated (Angular): no

  • Exception message and stack trace:

  • Steps to reproduce the issue:


2 Answer(s)
  • User Avatar
    0
    cotur created

    Hi @devteam

    As I see, you've added migration successfully,

    But, to update your database, please use YourProject.DbMigrator project.
    When you run it, it will update your database.

  • User Avatar
    0
    devteam created

    Hi @devteam

    As I see, you've added migration successfully,

    But, to update your database, please use YourProject.DbMigrator project.
    When you run it, it will update your database.

    Thanks @cotur

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 13, 2025, 04:08