mirror of
https://github.com/simon987/nyaa.git
synced 2025-12-13 23:29:02 +00:00
committed by
Anna-Maria Meriniemi
parent
abfb5c178e
commit
570a06bd9e
@@ -1,7 +1,7 @@
|
||||
"""Add uploader_ip column to torrents table.
|
||||
|
||||
Revision ID: 3001f79b7722
|
||||
Revises:
|
||||
Revises:
|
||||
Create Date: 2017-05-21 18:01:35.472717
|
||||
|
||||
"""
|
||||
@@ -19,6 +19,7 @@ TABLE_PREFIXES = ('nyaa', 'sukebei')
|
||||
|
||||
|
||||
def upgrade():
|
||||
|
||||
for prefix in TABLE_PREFIXES:
|
||||
op.add_column(prefix + '_torrents', sa.Column('uploader_ip', sa.Binary(), nullable=True))
|
||||
# ### end Alembic commands ###
|
||||
|
||||
Reference in New Issue
Block a user