diff --git a/app/alembic/versions/20241028204107_684a330f9e9f_new_migration.py b/app/alembic/versions/20241028204107_684a330f9e9f_new_migration.py index 1ab1a27..1f74b16 100644 --- a/app/alembic/versions/20241028204107_684a330f9e9f_new_migration.py +++ b/app/alembic/versions/20241028204107_684a330f9e9f_new_migration.py @@ -24,10 +24,7 @@ def upgrade() -> None: op.add_column( "conversations", sa.Column( - "visibility", - sa.Enum("PRIVATE", "PUBLIC", name="visibility"), - nullable=False, - server_default="PRIVATE", + "visibility", sa.Enum("PRIVATE", "PUBLIC", name="visibility"), nullable=True ), )