def record_applied(self, app, name):
        self.ensure_schema()
        self.migration_qs.create(app=app, name=name)
Records that a migration was applied.
dataset/ETHPy150Open django/django/django/db/migrations/recorder.py/MigrationRecorder.record_applied