[fix] db schema sync (multiple materials and no id field for simple HABTM (or fetching remote object ids would fail))
[fix] db schema sync (multiple materials and no id field for simple HABTM (or fetching remote object ids would fail))