Merge branch 'master' of https://bitbucket.org/yackob03/quay
This commit is contained in:
commit
26fab5d6ba
1 changed files with 2 additions and 2 deletions
|
@ -17,8 +17,8 @@ from data.database import Repository, User
|
|||
|
||||
def upgrade(tables):
|
||||
# Add the namespace_user column, allowing it to be nullable
|
||||
op.add_column('repository', sa.Column('namespace_user', sa.Integer(), sa.ForeignKey('user.id')))
|
||||
op.add_column('repository', sa.Column('namespace_user_id', sa.Integer(), sa.ForeignKey('user.id')))
|
||||
|
||||
|
||||
def downgrade(tables):
|
||||
op.drop_column('repository', 'namespace_user')
|
||||
op.drop_column('repository', 'namespace_user_id')
|
||||
|
|
Reference in a new issue