diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-04-11 23:40:41 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-04-11 23:40:41 -0700 |
commit | 6617baab49738898a09734dcbf8deca7c1a25622 (patch) | |
tree | cc2b65ceeb36868640920a4c9544e62af0f70d2a | |
parent | 9f887e59e02182383948835b9bb787c44a84f9f1 (diff) | |
download | fatcat-6617baab49738898a09734dcbf8deca7c1a25622.tar.gz fatcat-6617baab49738898a09734dcbf8deca7c1a25622.zip |
remove unused fields
-rw-r--r-- | fatcat/models.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fatcat/models.py b/fatcat/models.py index 7927ca6e..fb319331 100644 --- a/fatcat/models.py +++ b/fatcat/models.py @@ -87,8 +87,6 @@ class ReleaseRevision(db.Model): __tablename__ = 'release_revision' id = db.Column(db.Integer, primary_key=True, autoincrement=True) previous = db.Column(db.ForeignKey('release_revision.id'), nullable=True) - state = db.Column(db.String) # TODO: enum - redirect_id = db.Column(db.ForeignKey('release_id.id'), nullable=True) edit_id = db.Column(db.ForeignKey('edit.id')) extra_json = db.Column(db.ForeignKey('extra_json.sha1'), nullable=True) @@ -119,8 +117,6 @@ class CreatorRevision(db.Model): __tablename__ = 'creator_revision' id = db.Column(db.Integer, primary_key=True, autoincrement=True) previous = db.Column(db.ForeignKey('creator_revision.id'), nullable=True) - state = db.Column(db.String) - redirect_id = db.Column(db.ForeignKey('creator_id.id'), nullable=True) edit_id = db.Column(db.ForeignKey('edit.id')) extra_json = db.Column(db.ForeignKey('extra_json.sha1'), nullable=True) #creator_ids = db.relationship("CreatorId", backref="revision", lazy=False) @@ -138,8 +134,6 @@ class ContainerRevision(db.Model): __tablename__ = 'container_revision' id = db.Column(db.Integer, primary_key=True, autoincrement=True) previous = db.Column(db.ForeignKey('container_revision.id'), nullable=True) - state = db.Column(db.String) - redirect_id = db.Column(db.ForeignKey('container_id.id'), nullable=True) edit_id = db.Column(db.ForeignKey('edit.id')) extra_json = db.Column(db.ForeignKey('extra_json.sha1'), nullable=True) @@ -158,8 +152,6 @@ class FileRevision(db.Model): __tablename__ = 'file_revision' id = db.Column(db.Integer, primary_key=True, autoincrement=True) previous = db.Column(db.ForeignKey('file_revision.id'), nullable=True) - state = db.Column(db.String) # TODO: what is this? - redirect_id = db.Column(db.ForeignKey('file_id.id'), nullable=True) edit_id = db.Column(db.ForeignKey('edit.id')) extra_json = db.Column(db.ForeignKey('extra_json.sha1'), nullable=True) |