Intermediate commit
This commit is contained in:
parent
5f1914818e
commit
6c50852959
@ -60,7 +60,6 @@ public partial class EntityLinker
|
|||||||
$"\t{right.FieldName}_id: Mapped[Optional[int]] = mapped_column(ForeignKey(\"{right.TableName}.id\"))",
|
$"\t{right.FieldName}_id: Mapped[Optional[int]] = mapped_column(ForeignKey(\"{right.TableName}.id\"))",
|
||||||
$"\t{right.FieldName}: Mapped[\"{right.ClassName}\"] = relationship(back_populates=\"{left.FieldName.Pluralize()}\")"
|
$"\t{right.FieldName}: Mapped[\"{right.ClassName}\"] = relationship(back_populates=\"{left.FieldName.Pluralize()}\")"
|
||||||
]);
|
]);
|
||||||
|
|
||||||
left.Import(from: "typing", import: "List");
|
left.Import(from: "typing", import: "List");
|
||||||
|
|
||||||
right.AppendColumns([
|
right.AppendColumns([
|
||||||
|
Loading…
Reference in New Issue
Block a user