by applying another way to detect whether the SQLite table exists or not