pgsmo/objects/table_objects/constraints.py [177:198]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                "comment": self.comment
            }
        }

    def _delete_query_data(self) -> dict:
        """ Provides data input for delete script """
        return {
            "data": {
                "schema": self.parent.schema,
                "table": self.parent.name,
                "name": self.name
            },
            "cascade": self.cascade
        }

    def _update_query_data(self) -> dict:
        """ Function that returns data for update script """
        return {
            "data": {
                "name": self.name,
                "schema": self.parent.schema,
                "table": self.parent.name,
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



pgsmo/objects/table_objects/constraints.py [273:294]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                "comment": self.comment
            }
        }

    def _delete_query_data(self) -> dict:
        """ Provides data input for delete script """
        return {
            "data": {
                "schema": self.parent.schema,
                "table": self.parent.name,
                "name": self.name
            },
            "cascade": self.cascade
        }

    def _update_query_data(self) -> dict:
        """ Function that returns data for update script """
        return {
            "data": {
                "name": self.name,
                "schema": self.parent.schema,
                "table": self.parent.name,
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



