sql fixture
generic improvements