def test_drop_attribute_schema(self):
        if self.db.version < 90100:
            self.skipTest('Only available on PG 9.1')
        inmap = self.std_map()
        inmap.update({'schema s1': {'type t1': {
            'attributes': [{'x': {'type': 'integer'}},
                           {'z': {'type': 'integer'}}]}}})
        sql = self.to_sql(inmap, [
            "CREATE SCHEMA s1",
            "CREATE TYPE s1.t1 AS (x integer, y integer, z integer)"])
        assert fix_indent(sql[0]) == "ALTER TYPE s1.t1 DROP ATTRIBUTE y"
Return file_changes information from osquery
dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_type.py/CompositeToSqlTestCase.test_drop_attribute_schema--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/osquery.py/file_changes