Skip to content

Commit

Permalink
feat(migration): delete m*n relationship
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoh committed Oct 23, 2019
1 parent e7ac456 commit 74c8961
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/migrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,8 @@ def create_relationship(sde):
destination_primary_key='GUID',
destination_foreign_key='ArtPen_FK',
)

arcpy.management.Delete('AreaOfReviewToArtificialPenetrations', 'RelationshipClass')
except Exception:
print(' class probably already created')

Expand Down

0 comments on commit 74c8961

Please sign in to comment.