createTableIfNotExists method
Creates the entity table for entity if it does not exist yet.
Implementation
Future<void> createTableIfNotExists(Object entity) async {
final String tableName = entity.runtimeType.toString();
if (await checkIfTableExists(tableName)) return;
await (await db).transaction((txn) => txn.execute(showCreateTable(entity)));
}