cubicweb/server/test/data-migractions/cubicweb_fakecustomtype/schema.py
changeset 12545 be36811f0d08
parent 11057 0b59724cb3f2
child 12841 fceae84a22dd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cubicweb/server/test/data-migractions/cubicweb_fakecustomtype/schema.py	Thu Mar 28 10:04:23 2019 +0100
@@ -0,0 +1,7 @@
+
+from yams.buildobjs import EntityType, make_type
+
+Numeric = make_type('Numeric')
+
+class Location(EntityType):
+    num = Numeric(scale=10, precision=18)