Barry Warsaw pushed to branch master at mailman / Mailman
Commits:
9e8051ad by Aurélien Bompard at 2015-09-22T19:23:10Z
Also rename the migration file following 9806f9c7
- - - - -
4e92face by Barry Warsaw at 2015-09-22T19:29:39Z
Fix the column name in the migration file. Given by Aurélien Bompard.
- - - - -
1 changed file:
- src/mailman/database/alembic/versions/2bb9b382198_workflow_state_table.py
Changes:
=====================================
src/mailman/database/alembic/versions/2bb9b382198_workflow_state_table.py
=====================================
--- a/src/mailman/database/alembic/versions/2bb9b382198_workflow_state_table.py
+++ b/src/mailman/database/alembic/versions/2bb9b382198_workflow_state_table.py
@@ -17,10 +17,10 @@ import sqlalchemy as sa
def upgrade():
op.create_table('workflowstate',
sa.Column('name', sa.Unicode(), nullable=False),
- sa.Column('key', sa.Unicode(), nullable=False),
+ sa.Column('token', sa.Unicode(), nullable=False),
sa.Column('step', sa.Unicode(), nullable=True),
sa.Column('data', sa.Unicode(), nullable=True),
- sa.PrimaryKeyConstraint('name', 'key')
+ sa.PrimaryKeyConstraint('name', 'token')
)
View it on GitLab:
https://gitlab.com/mailman/mailman/compare/c092ba315f4db404f4ccc8d57b936abf3be0d054...4e92faced9c8b215420971164fd5e1de97db7a46
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org