SQLiteでDBの整合性チェックSQL

PRAGMA integrity_check;

ネタ元