Skip to content

Commit

Permalink
Revert "Model changes for annotation.pk"
Browse files Browse the repository at this point in the history
This reverts commit f533a88.
  • Loading branch information
marcospri committed Sep 19, 2023
1 parent 3d7f7ef commit 4f205f6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions h/models/annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ class Annotation(Base):
types.URLSafeUUID, server_default=sa.func.uuid_generate_v1mc(), primary_key=True
)

#: Annotation PK: this was added after annotation.id and it's meant to replace it long term
#: For now we'll have a sequence and a nullable serial column.
pk_sequence = sa.Sequence("annotation_id_seq", cycle=False)
pk = sa.Column(sa.Integer, nullable=True, unique=True)

#: The timestamp when the annotation was created.
created = sa.Column(
sa.DateTime,
Expand Down

0 comments on commit 4f205f6

Please sign in to comment.