System.NotSupportedException
 HResult=0x80131515
 Message=SQLite does not support this migration operation ('AddForeignKeyOperation'). For more information, see http://go.microsoft.com/fwlink/?LinkId=723262.
 Source=Microsoft.EntityFrameworkCore.Sqlite
 StackTrace:
  at Microsoft.EntityFrameworkCore.Migrations.SqliteMigrationsSqlGenerator.Generate(AddForeignKeyOperation operation, IModel model, MigrationCommandListBuilder builder)
  at Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerator.Generate(MigrationOperation operation, IModel model, MigrationCommandListBuilder builder)
  at Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerator.Generate(IReadOnlyList`1 operations, IModel model)
  at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.GenerateUpSql(Migration migration)
  at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.Migrate(String targetMigration)
  at Intersect.Server.Database.DbInterface.InitDatabase(IServerContext serverContext) in E:\DuAnGame\Intersect\MMORPG\Intersect-Engine-prerelease\Intersect.Server\Database\DbInterface.cs:line 263
  at Intersect.Server.Core.Bootstrapper.PostContextSetup() in E:\DuAnGame\Intersect\MMORPG\Intersect-Engine-prerelease\Intersect.Server\Core\Bootstrapper.cs:line 282
  at Intersect.Server.Core.Bootstrapper.Start(String[] args) in E:\DuAnGame\Intersect\MMORPG\Intersect-Engine-prerelease\Intersect.Server\Core\Bootstrapper.cs:line 80
Â
I want delete (undo) my migration. i forgot backup my project :((
Question
nvh
System.NotSupportedException
 HResult=0x80131515
 Message=SQLite does not support this migration operation ('AddForeignKeyOperation'). For more information, see http://go.microsoft.com/fwlink/?LinkId=723262.
 Source=Microsoft.EntityFrameworkCore.Sqlite
 StackTrace:
  at Microsoft.EntityFrameworkCore.Migrations.SqliteMigrationsSqlGenerator.Generate(AddForeignKeyOperation operation, IModel model, MigrationCommandListBuilder builder)
  at Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerator.Generate(MigrationOperation operation, IModel model, MigrationCommandListBuilder builder)
  at Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerator.Generate(IReadOnlyList`1 operations, IModel model)
  at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.GenerateUpSql(Migration migration)
  at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.Migrate(String targetMigration)
  at Intersect.Server.Database.DbInterface.InitDatabase(IServerContext serverContext) in E:\DuAnGame\Intersect\MMORPG\Intersect-Engine-prerelease\Intersect.Server\Database\DbInterface.cs:line 263
  at Intersect.Server.Core.Bootstrapper.PostContextSetup() in E:\DuAnGame\Intersect\MMORPG\Intersect-Engine-prerelease\Intersect.Server\Core\Bootstrapper.cs:line 282
  at Intersect.Server.Core.Bootstrapper.Start(String[] args) in E:\DuAnGame\Intersect\MMORPG\Intersect-Engine-prerelease\Intersect.Server\Core\Bootstrapper.cs:line 80
Â
I want delete (undo) my migration. i forgot backup my project :((
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now