💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
## 解决方法一:重新做一个起点记录 1、要保证当前没有需要做的数据迁移 2、在数据迁移种子目录中做一个假的数据迁移文件,当做起点记录 ![](https://img.kancloud.cn/04/69/0469730cc64023e3b58506e1aea1dc2e_393x644.png) ``` namespace JuQent.CPS.Migrations {     using System;     using System.Collections.Generic;     using System.Data.Entity.Infrastructure.Annotations;     using System.Data.Entity.Migrations;          public partial class InitData : DbMigration     {         public override void Up()         {         }         public override void Down()         {         }     } } ``` 3、做一下数据迁移,需要保证是在测试数据库中,正式数据库中千万不要搞这种骚操作 ``` Update-DataBase -verbose ``` 解决方法二: [参考表没了的情况处理]([https://www.kancloud.cn/mes111/code/1734076](https://www.kancloud.cn/mes111/code/1734076))