equal
deleted
inserted
replaced
111 attrs = [attrdef for attrdef in eschema.attribute_definitions() |
111 attrs = [attrdef for attrdef in eschema.attribute_definitions() |
112 if not attrdef[0].type in skip_relations] |
112 if not attrdef[0].type in skip_relations] |
113 attrs += [(rschema, None) |
113 attrs += [(rschema, None) |
114 for rschema in eschema.subject_relations() |
114 for rschema in eschema.subject_relations() |
115 if not rschema.final and rschema.inlined] |
115 if not rschema.final and rschema.inlined] |
116 # XXX handle objectinline physical mode |
|
117 for i in range(len(attrs)): |
116 for i in range(len(attrs)): |
118 rschema, attrschema = attrs[i] |
117 rschema, attrschema = attrs[i] |
119 if attrschema is not None: |
118 if attrschema is not None: |
120 sqltype = aschema2sql(dbhelper, eschema, rschema, attrschema) |
119 sqltype = aschema2sql(dbhelper, eschema, rschema, attrschema) |
121 else: # inline relation |
120 else: # inline relation |