diff --git a/migrations/versions/a7a553e5ca1d_.py b/migrations/versions/a7a553e5ca1d_.py index 3723b98d..769c790e 100644 --- a/migrations/versions/a7a553e5ca1d_.py +++ b/migrations/versions/a7a553e5ca1d_.py @@ -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 ###