aboutsummaryrefslogtreecommitdiff
path: root/migrations
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2019-04-01 14:54:46 +0100
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2019-04-01 14:54:46 +0100
commit7b2c47a4c3e0992817191bca136fdadc1504f65d (patch)
treeb283eccf1a23fd4c5b7b24a93738e3f859511a7a /migrations
parentUpdate configuration to use env files throughout (diff)
downloadAnnotateChange-7b2c47a4c3e0992817191bca136fdadc1504f65d.tar.gz
AnnotateChange-7b2c47a4c3e0992817191bca136fdadc1504f65d.zip
Various fixes to get the app to work in docker
Diffstat (limited to 'migrations')
-rw-r--r--migrations/versions/f3622e20dd86_initialize.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/migrations/versions/f3622e20dd86_initialize.py b/migrations/versions/f3622e20dd86_initialize.py
index 545ca5b..56475bd 100644
--- a/migrations/versions/f3622e20dd86_initialize.py
+++ b/migrations/versions/f3622e20dd86_initialize.py
@@ -20,7 +20,7 @@ def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.create_table('dataset',
sa.Column('id', sa.Integer(), nullable=False),
- sa.Column('name', sa.String(), nullable=False),
+ sa.Column('name', sa.String(length=128), nullable=False),
sa.Column('created', sa.DateTime(), nullable=False),
sa.Column('md5sum', sa.String(length=32), nullable=False),
sa.PrimaryKeyConstraint('id'),
@@ -30,7 +30,7 @@ def upgrade():
op.create_table('user',
sa.Column('id', sa.Integer(), nullable=False),
sa.Column('username', sa.String(length=80), nullable=False),
- sa.Column('email', sa.String(), nullable=False),
+ sa.Column('email', sa.String(length=256), nullable=False),
sa.Column('password_hash', sa.String(length=128), nullable=False),
sa.Column('last_active', sa.DateTime(), nullable=False),
sa.PrimaryKeyConstraint('id'),