Skip to content

Commit

Permalink
removed migration
Browse files Browse the repository at this point in the history
  • Loading branch information
GodReaper committed Oct 30, 2024
1 parent 532a62b commit 30e1390
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 33 deletions.
30 changes: 0 additions & 30 deletions app/alembic/versions/20241026151704_e824fba2b86a_new_migration.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""New migration
Revision ID: 20241028204107_684a330f9e9f
Revises: 20241026151704_e824fba2b86a
Revises: 20241003153813_827623103002
Create Date: 2024-10-28 20:41:07.469748
"""
Expand All @@ -13,7 +13,7 @@

# revision identifiers, used by Alembic.
revision: str = '20241028204107_684a330f9e9f'
down_revision: Union[str, None] = '20241026151704_e824fba2b86a'
down_revision: Union[str, None] = '20241003153813_827623103002'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None

Expand All @@ -22,7 +22,7 @@ def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.execute("CREATE TYPE visibility AS ENUM ('PRIVATE', 'PUBLIC')")
op.add_column('conversations', sa.Column('visibility', sa.Enum('PRIVATE', 'PUBLIC', name='visibility'), nullable=False))
op.drop_column('conversations', 'is_public')

# ### end Alembic commands ###


Expand Down

0 comments on commit 30e1390

Please sign in to comment.