Phase 3 of the namespace migration, remove write references to the namespace string column.
This commit is contained in:
parent
7fd3c7d31b
commit
fbc7ee3bce
2 changed files with 1 additions and 4 deletions
|
@ -168,7 +168,6 @@ class Visibility(BaseModel):
|
|||
|
||||
|
||||
class Repository(BaseModel):
|
||||
namespace = CharField()
|
||||
namespace_user = ForeignKeyField(User)
|
||||
name = CharField()
|
||||
visibility = ForeignKeyField(Visibility)
|
||||
|
@ -180,7 +179,6 @@ class Repository(BaseModel):
|
|||
read_slaves = (read_slave,)
|
||||
indexes = (
|
||||
# create a unique index on namespace and name
|
||||
(('namespace', 'name'), True),
|
||||
(('namespace_user', 'name'), True),
|
||||
)
|
||||
|
||||
|
|
Reference in a new issue