(error: sqlite3.OperationalError)
| 410 | |
| 411 | |
| 412 | def sqlite_busy(error: sqlite3.OperationalError) -> bool: |
| 413 | return "locked" in str(error).lower() or "busy" in str(error).lower() |
| 414 | |
| 415 | |
| 416 | def apply_migrations(connection: sqlite3.Connection) -> None: |