aboutsummaryrefslogtreecommitdiff
path: root/migrations/versions/02e90d95b9e8_.py
diff options
context:
space:
mode:
Diffstat (limited to 'migrations/versions/02e90d95b9e8_.py')
-rw-r--r--migrations/versions/02e90d95b9e8_.py27
1 files changed, 14 insertions, 13 deletions
diff --git a/migrations/versions/02e90d95b9e8_.py b/migrations/versions/02e90d95b9e8_.py
index c65e6ba..1c7d04c 100644
--- a/migrations/versions/02e90d95b9e8_.py
+++ b/migrations/versions/02e90d95b9e8_.py
@@ -10,7 +10,7 @@ import sqlalchemy as sa
# revision identifiers, used by Alembic.
-revision = '02e90d95b9e8'
+revision = "02e90d95b9e8"
down_revision = None
branch_labels = None
depends_on = None
@@ -18,22 +18,23 @@ depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
- op.create_table('users',
- sa.Column('first_name', sa.String(), nullable=True),
- sa.Column('last_name', sa.String(), nullable=True),
- sa.Column('email', sa.String(length=120), nullable=False),
- sa.Column('confirmation', sa.Boolean(), nullable=True),
- sa.Column('paid', sa.Boolean(), nullable=True),
- sa.Column('role', sa.String(), nullable=True),
- sa.Column('team', sa.String(), nullable=True),
- sa.Column('login_type', sa.String(), nullable=True),
- sa.Column('_password', sa.String(), nullable=True),
- sa.PrimaryKeyConstraint('email')
+ op.create_table(
+ "users",
+ sa.Column("first_name", sa.String(), nullable=True),
+ sa.Column("last_name", sa.String(), nullable=True),
+ sa.Column("email", sa.String(length=120), nullable=False),
+ sa.Column("confirmation", sa.Boolean(), nullable=True),
+ sa.Column("paid", sa.Boolean(), nullable=True),
+ sa.Column("role", sa.String(), nullable=True),
+ sa.Column("team", sa.String(), nullable=True),
+ sa.Column("login_type", sa.String(), nullable=True),
+ sa.Column("_password", sa.String(), nullable=True),
+ sa.PrimaryKeyConstraint("email"),
)
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
- op.drop_table('users')
+ op.drop_table("users")
# ### end Alembic commands ###