Remove Repository, Revision and GitRef models
Closes #1805 (closed)
Noticeable changes:
- The latest WorkerVersion from a
master
build is not visible by default. - Slug is not unique for workers anymore (was for a similar repo). Creation behavior (returns a worker if slug exists + write access) is a bit misleading.
Please note the migration is not reversible, because of the XOR contraint.
Also I got a missing constraint in my DB ("workerversion_revision_xor_version"), but most certainly due to a migration I missed (I had 2 other constraints, doing the same thing).
Edited by Valentin Rigal