Skip to content
Snippets Groups Projects

Registrace

1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
+ 1
0
@@ -99,6 +99,7 @@ class Place(Base):
nuts = Column(String(255), unique=True, server_default=text("NULL::character varying"))
note = Column(Text, nullable=False, server_default=text("''::text"))
parent_place = relationship('Place', primaryjoin='Place.parent == Place.place_id', remote_side='Place.place_id')
children = relationship('Place')
school = relationship('School', uselist=False, back_populates='place')
Loading