mirror of
https://github.com/Sonarr/Sonarr
synced 2025-01-21 06:39:06 +00:00
Add test to ensure Identity is maintained on Id column during migration
This commit is contained in:
parent
385a756a7e
commit
60b4e14522
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ namespace NzbDrone.Core.Test.Datastore.SqliteSchemaDumperTests
|
|||
result.Name.Should().Be(tableName);
|
||||
result.Columns.Count.Should().Be(1);
|
||||
result.Columns.First().Name.Should().Be(columnName);
|
||||
result.Columns.First().IsIdentity.Should().BeTrue();
|
||||
}
|
||||
|
||||
[TestCase(@"CREATE INDEX TestIndex ON TestTable (MyId)", "TestIndex", "TestTable", "MyId")]
|
||||
|
|
Loading…
Reference in a new issue