Skip to content

Commit

Permalink
remove unneeded trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
bailliekova committed Feb 1, 2025
1 parent c1faef5 commit e4feac7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions gerrydb_meta/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,14 +374,6 @@ def full_path(self):
return f"/{self.namespace.path}/{self.path}"


@event.listens_for(Geography, "after_insert")
def create_geo_partition_in_column_value(mapper, connection, geo):
geo_id = geo.geo_id
Session.object_session(geo).execute(
create_column_value_partition_text(geo_id=geo_id)
)


class GeoImport(Base):
__tablename__ = "geo_import"

Expand Down

0 comments on commit e4feac7

Please sign in to comment.