hooks/syncschema.py
changeset 9965 a8769b752299
parent 9964 f4a3ee05cf9d
child 9969 0f64ef873f7a
equal deleted inserted replaced
9964:f4a3ee05cf9d 9965:a8769b752299
   446         default = entity.defaultval
   446         default = entity.defaultval
   447         if default is not None:
   447         if default is not None:
   448             default = default.unzpickle()
   448             default = default.unzpickle()
   449         props = {'default': default,
   449         props = {'default': default,
   450                  'indexed': entity.indexed,
   450                  'indexed': entity.indexed,
       
   451                  'formula': entity.formula,
   451                  'fulltextindexed': entity.fulltextindexed,
   452                  'fulltextindexed': entity.fulltextindexed,
   452                  'internationalizable': entity.internationalizable}
   453                  'internationalizable': entity.internationalizable}
   453         # update the in-memory schema first
   454         # update the in-memory schema first
   454         rdefdef = self.init_rdef(**props)
   455         rdefdef = self.init_rdef(**props)
   455         # then make necessary changes to the system source database
   456         # then make necessary changes to the system source database