Fix the Layers type.

The type in the polymorphic_identity can't be larger then the column
width (10).
Merge pull request #1144 from camptocamp/fix-db-type

Fix the Layers type.