fixing confirm in migrate

This commit is contained in:
Cayo Puigdefabregas 2021-06-07 14:37:56 +02:00
parent 289126a8a7
commit efbc74f7fb
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ def upgrade():
sa.Column('user_from_id', postgresql.UUID(as_uuid=True), nullable=False),
sa.Column('user_to_id', postgresql.UUID(as_uuid=True), nullable=False),
sa.Column('document_id', citext.CIText(), nullable=True),
sa.Column('confirm', sa.Boolean(), nullable=True),
sa.ForeignKeyConstraint(['id'], [f'{get_inv()}.action.id'], ),
sa.ForeignKeyConstraint(['user_from_id'], ['common.user.id'], ),
sa.ForeignKeyConstraint(['user_to_id'], ['common.user.id'], ),