cubicweb/server/test/data-migractions/cubicweb_fakecustomtype/schema.py
changeset 12841 fceae84a22dd
parent 12545 be36811f0d08
equal deleted inserted replaced
12840:d29955a6dbba 12841:fceae84a22dd
     1 
       
     2 from yams.buildobjs import EntityType, make_type
     1 from yams.buildobjs import EntityType, make_type
     3 
     2 
     4 Numeric = make_type('Numeric')
     3 Numeric = make_type('Numeric')
     5 
     4 
       
     5 
     6 class Location(EntityType):
     6 class Location(EntityType):
     7     num = Numeric(scale=10, precision=18)
     7     num = Numeric(scale=10, precision=18)