Maintain PrimaryKey and AutoIncrement on some schemas

This commit is contained in:
Qstick 2021-12-21 17:45:00 -06:00
parent 150d7b046a
commit f106c01d43
1 changed files with 1 additions and 0 deletions

View File

@ -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")]