mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-02 18:28:52 +08:00
Fix migration comments
Fill out change log, remove automatically generated comments.
This commit is contained in:
committed by
Nils Philippsen
parent
1386d3506c
commit
d65f4fed55
@@ -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 ###
|
||||
|
||||
Reference in New Issue
Block a user