Fix migration comments

Fill out change log, remove automatically generated comments.
This commit is contained in:
Matt Prahl
2016-08-24 14:53:01 +02:00
committed by Nils Philippsen
parent 1386d3506c
commit d65f4fed55

View File

@@ -1,4 +1,4 @@
"""empty message
"""Initial database migration script that creates the database tables
Revision ID: a7a553e5ca1d
Revises: None
@@ -15,7 +15,6 @@ import sqlalchemy as sa
def upgrade():
### commands auto generated by Alembic - please adjust! ###
op.create_table('modules',
sa.Column('name', sa.String(), nullable=False),
sa.PrimaryKeyConstraint('name')
@@ -46,12 +45,9 @@ def upgrade():
sa.ForeignKeyConstraint(['module_id'], ['module_builds.id'], ),
sa.PrimaryKeyConstraint('id')
)
### end Alembic commands ###
def downgrade():
### commands auto generated by Alembic - please adjust! ###
op.drop_table('component_builds')
op.drop_table('module_builds')
op.drop_table('modules')
### end Alembic commands ###