@contextmanager<EOL>def add_field(field, filters: List[str]):
model = define_fake_model()<EOL>project = migrations.state.ProjectState.from_apps(apps)<EOL>with connection.schema_editor() as schema_editor:<EOL><INDENT>execute_migration(schema_editor, [<EOL>migrations.CreateModel(<EOL>model.__name__,<EOL>fields=[]<EOL>)<EOL>], project)<EOL><DEDENT>with filtered_schema_editor(*filters) as (schema_editor, calls):<EOL><INDENT>execute_migration(schema_editor, [<EOL>migrations.AddField(<EOL>model.__name__,<EOL>'<STR_LIT:title>',<EOL>field<EOL>)<EOL>], project)<EOL><DEDENT>yield calls<EOL>
Adds the specified field to a model.

    Arguments:
        field:
            The field to add to a model.

        filters:
            List of strings to filter
            SQL statements on.