feat(db): add index for boards

This commit is contained in:
psychedelicious 2023-06-15 15:26:57 +10:00
parent 498bf0d0ba
commit e1f9685b02

View File

@ -128,7 +128,7 @@ class SqliteBoardRecordStorage(BoardRecordStorageBase):
self._cursor.execute(
"""--sql
CREATE INDEX IF NOT EXISTS idx_boards_created_at ON boards(created_at);
CREATE INDEX IF NOT EXISTS idx_boards_created_at ON boards (created_at);
"""
)