temp remove

This commit is contained in:
Weves
2025-02-25 20:38:31 -08:00
committed by Chris Weaver
parent a515aa78d2
commit ce2b4de245

View File

@@ -18,12 +18,13 @@ depends_on = None
def upgrade() -> None: def upgrade() -> None:
# Create a basic index on the lowercase message column for direct text matching # Create a basic index on the lowercase message column for direct text matching
# Limit to 1500 characters to stay well under the 2856 byte limit of btree version 4 # Limit to 1500 characters to stay well under the 2856 byte limit of btree version 4
op.execute( # op.execute(
""" # """
CREATE INDEX idx_chat_message_message_lower # CREATE INDEX idx_chat_message_message_lower
ON chat_message (LOWER(substring(message, 1, 1500))) # ON chat_message (LOWER(substring(message, 1, 1500)))
""" # """
) # )
pass
def downgrade() -> None: def downgrade() -> None: