Drop the composite vercode + repo primary key from apk table

We expect repos to serve multiple apks with the same version code but
different signing certificates in the future.
This commit is contained in:
Peter Serwylo committed 2017-06-12 13:48:36 +10:00
1 parent b95a330ccf
commit aa472ba764
2 files changed
+14 -8

No files matched your search

@@ -73,11 +73,6 @@ public class SuggestedVersionTest extends FDroidProviderTest {
assertEquals(3, found3.suggestedVersionCode);
}
/**
* TODO: Failing for two reasons:
* * We don't support suggested versioncode with multi-sig.
* * More importantly, we don't even support multi-sig due to the [appId, vercode, repo] primary key.
*/
@Test
public void singleRepoMultiSig() {
App singleApp = insertApp(context, "single.app", "Single App", 4, "https://simple.repo");