Détermination du bord politique de mots divers http://clivage.foxgl.ovh
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

35 lines
968 B

  1. """empty message
  2. Revision ID: cff6e9c9dc04
  3. Revises:
  4. Create Date: 2019-05-05 20:30:16.807935
  5. """
  6. import sqlalchemy as sa
  7. from alembic import op
  8. # revision identifiers, used by Alembic.
  9. revision = 'cff6e9c9dc04'
  10. down_revision = None
  11. branch_labels = None
  12. depends_on = None
  13. def upgrade():
  14. # ### commands auto generated by Alembic - please adjust! ###
  15. op.create_table('word',
  16. sa.Column('id', sa.Integer(), nullable=False),
  17. sa.Column('text', sa.String(length=255), nullable=True),
  18. sa.Column('left', sa.Integer(), nullable=True),
  19. sa.Column('right', sa.Integer(), nullable=True),
  20. sa.PrimaryKeyConstraint('id'),
  21. sa.UniqueConstraint('text')
  22. )
  23. # ### end Alembic commands ###
  24. def downgrade():
  25. # ### commands auto generated by Alembic - please adjust! ###
  26. op.drop_table('word')
  27. # ### end Alembic commands ###