At attribute creation set pool.fields_by_model to None

When create a new attribute force the value of pool.fields_by_model to None to recompute _columns.

If this value is not None, in some case, columns are not created in the database.

Exemple:
-load a csv as demo data
-migrate data