-
Notifications
You must be signed in to change notification settings - Fork 31
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
95429b9
commit 804d896
Showing
5 changed files
with
29 additions
and
27 deletions.
There are no files selected for viewing
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
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,27 @@ | ||
"""remove picto | ||
Revision ID: 5cef20a05a20 | ||
Revises: 1cf2cdc94f9b | ||
Create Date: 2023-07-31 16:15:29.608981 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = "5cef20a05a20" | ||
down_revision = "1cf2cdc94f9b" | ||
branch_labels = None | ||
depends_on = None | ||
from sqlalchemy import Column, String | ||
|
||
|
||
def upgrade(): | ||
op.drop_column(table_name="bib_listes", column_name="picto", schema="taxonomie") | ||
|
||
|
||
def downgrade(): | ||
op.add_column( | ||
table_name="bib_listes", column=sa.Column("picto", String(250)), schema="taxonomie" | ||
) |
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
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
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