-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b833e6b
commit 6cd8d61
Showing
2 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
...s/migration/rdkit_visuals/versions/49ff7076d8b0_remoce_package_id_from_molecules_table.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
"""remoce package_id from molecules table | ||
Revision ID: 49ff7076d8b0 | ||
Revises: 1f5e9a1c52dd | ||
Create Date: 2023-11-14 08:53:07.445148 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = '49ff7076d8b0' | ||
down_revision = '1f5e9a1c52dd' | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade(): | ||
op.drop_column('molecules', 'package_id') | ||
|
||
|
||
def downgrade(): | ||
pass | ||
|