renderClientEdgeSchema method
Implementation
String renderClientEdgeSchema(parseTable pt) {
List<String> ret = [];
pt.edges.forEach((element) {
if (element.unique || element.type != DBEdgeType.From) {
return;
}
ret.add('''
create table if not exists ${formatEdgeTable(element.table, pt.table)} (
${formatEdgeField(pt.table)} INTEGER not null,
${formatEdgeField(element.table)} INTEGER not null
);
''');
});
return ret.join("\n");
}