mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-06 11:08:11 +02:00
change comment
This commit is contained in:
parent
9170581d21
commit
d4ebe33907
@ -83,7 +83,7 @@ def upgrade():
|
|||||||
session.delete(role)
|
session.delete(role)
|
||||||
session.query(Role).update({Role.role_id: Role.role_id - 1})
|
session.query(Role).update({Role.role_id: Role.role_id - 1})
|
||||||
|
|
||||||
#delete M from table access
|
#delete A from table access
|
||||||
acc = session.query(Access).filter_by(access_id=1).first()
|
acc = session.query(Access).filter_by(access_id=1).first()
|
||||||
session.delete(acc)
|
session.delete(acc)
|
||||||
session.query(Access).update({Access.access_id: Access.access_id - 1})
|
session.query(Access).update({Access.access_id: Access.access_id - 1})
|
||||||
|
Loading…
Reference in New Issue
Block a user