Added spec for schema models to find by sql query