diff --git a/langgraph/checkpoint/mysql/base.py b/langgraph/checkpoint/mysql/base.py index 9cdddde..8eb7c5e 100644 --- a/langgraph/checkpoint/mysql/base.py +++ b/langgraph/checkpoint/mysql/base.py @@ -69,11 +69,9 @@ """ CREATE INDEX checkpoints_checkpoint_id_idx ON checkpoints (checkpoint_id); """, - """ - ALTER TABLE checkpoints MODIFY COLUMN `checkpoint_ns` VARCHAR(255) NOT NULL DEFAULT ''; - ALTER TABLE checkpoint_blobs MODIFY COLUMN `checkpoint_ns` VARCHAR(255) NOT NULL DEFAULT ''; - ALTER TABLE checkpoint_writes MODIFY COLUMN `checkpoint_ns` VARCHAR(255) NOT NULL DEFAULT ''; - """, + "ALTER TABLE checkpoints MODIFY COLUMN `checkpoint_ns` VARCHAR(255) NOT NULL DEFAULT '';", + "ALTER TABLE checkpoint_blobs MODIFY COLUMN `checkpoint_ns` VARCHAR(255) NOT NULL DEFAULT '';", + "ALTER TABLE checkpoint_writes MODIFY COLUMN `checkpoint_ns` VARCHAR(255) NOT NULL DEFAULT '';", ] SELECT_SQL = f"""