Address torrent feature review comments.

This commit is contained in:
Jake Moshenko 2016-01-08 16:38:02 -05:00
parent 8a924aae4a
commit 1ae101c917
7 changed files with 31 additions and 29 deletions

View file

@ -27,7 +27,7 @@ def upgrade(tables):
)
op.create_index('torrentinfo_storage_id', 'torrentinfo', ['storage_id'], unique=False)
op.create_index('torrentinfo_storage_id_piece_length', 'torrentinfo', ['storage_id', 'piece_length'], unique=True)
op.add_column(u'blobupload', sa.Column('piece_hashes', UTF8LongText(), nullable=False))
op.add_column(u'blobupload', sa.Column('piece_hashes', UTF8LongText(), nullable=True))
op.add_column(u'blobupload', sa.Column('piece_sha_state', UTF8LongText(), nullable=True))
### end Alembic commands ###