From b9d2dbfec4fc4e72b6b757c1ec505d8064496b8c Mon Sep 17 00:00:00 2001 From: Vineet Date: Fri, 1 Nov 2024 18:00:26 +0530 Subject: [PATCH] Update 20241028204107_684a330f9e9f_new_migration.py --- .../versions/20241028204107_684a330f9e9f_new_migration.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 ), )