mirror of
https://codeberg.org/dribdat/dribdat.git
synced 2026-03-31 17:03:57 +00:00
Technai migration
This commit is contained in:
parent
114fe6baa4
commit
10be204ba4
1 changed files with 2 additions and 2 deletions
|
|
@ -23,10 +23,10 @@ def upgrade():
|
|||
|
||||
with op.batch_alter_table('projects') as batch_op:
|
||||
batch_op.alter_column('longtext', existing_type=sa.TEXT(), nullable=True)
|
||||
batch_op.add_column(sa.Column('_technai', sa.UnicodeText(length=1024), nullable=True))
|
||||
batch_op.add_column(sa.Column('_technai', sa.UnicodeText(), nullable=True))
|
||||
|
||||
with op.batch_alter_table('projects_version') as batch_op:
|
||||
batch_op.add_column(sa.Column('_technai', sa.UnicodeText(length=1024), autoincrement=False, nullable=True))
|
||||
batch_op.add_column(sa.Column('_technai', sa.UnicodeText(), nullable=True))
|
||||
|
||||
def downgrade():
|
||||
with op.batch_alter_table('users', schema=None) as batch_op:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue