Commit fa772e4bb4070f1241d78f679da8516285ab0b29

Authored by hitier
1 parent 76739351

Update resource's db and migration with new models

migrations/versions/c5743e70ac8b_.py 0 → 100644
... ... @@ -0,0 +1,28 @@
  1 +"""empty message
  2 +
  3 +Revision ID: c5743e70ac8b
  4 +Revises: 4d5e5e207063
  5 +Create Date: 2021-04-15 16:48:32.103879
  6 +
  7 +"""
  8 +from alembic import op
  9 +import sqlalchemy as sa
  10 +
  11 +
  12 +# revision identifiers, used by Alembic.
  13 +revision = 'c5743e70ac8b'
  14 +down_revision = '4d5e5e207063'
  15 +branch_labels = None
  16 +depends_on = None
  17 +
  18 +
  19 +def upgrade():
  20 + # ### commands auto generated by Alembic - please adjust! ###
  21 + op.add_column('user', sa.Column('password_hash', sa.String(length=128), nullable=True))
  22 + # ### end Alembic commands ###
  23 +
  24 +
  25 +def downgrade():
  26 + # ### commands auto generated by Alembic - please adjust! ###
  27 + op.drop_column('user', 'password_hash')
  28 + # ### end Alembic commands ###
... ...
resources/lesia-btp.sqlite
No preview for this file type