def _run_soft_delete(self):
        query = self.new_query().where(self.get_key_name(), self.get_key())

        time = self.fresh_timestamp()
        setattr(self, self.get_deleted_at_column(), time)

        query.update({
            self.get_deleted_at_column(): self.from_datetime(time)
        })
Change a nullable column to NOT NULL
dataset/ETHPy150Open sdispater/orator/orator/orm/mixins/soft_deletes.py/SoftDeletes._run_soft_delete--crossover with--dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_column.py/ColumnToSqlTestCase.test_set_column_not_null