During development of my first orchard module (area, not a content type or widget) I've updated the content of migrations.cs file without upgrading the version (don't see the need before something is released).
To force migrations to occur again, I removed the table from my SQL Server database and deleted the record in table 'Orchard_Framework_DataMigrationRecord'.
The migrations.cs file runs and the updated version of my table is created.
However, NHibernate seems to recognize only the fields that were present in the first version of migrations.cs.
How does the mapping work? I assume it is cached somewhere?