Anton Shestakov <av6@dwimlabs.net>, Mon, 13 Jun 2016 11:22:32 +0800
candolint: revision + node hash is still unique per project
Even though SQLite doesn't enforce uniqueness if rev is NULL, the index is
still useful in BaseModel.create_or_get().
--- a/candolint/models.py Mon Jun 13 11:14:12 2016 +0800
+++ b/candolint/models.py Mon Jun 13 11:22:32 2016 +0800
- (('node', 'project'), True),
+ (('rev', 'node', 'project'), True),