Maintain PrimaryKey and AutoIncrement on some schemas

pull/2558/head
Qstick 3 years ago
parent 150d7b046a
commit f106c01d43

@ -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…
Cancel
Save