Skip to content

Commit

Permalink
Add blurb column (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaldogsbody committed Feb 26, 2024
1 parent f161919 commit 60d094c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class Datafile(Model):
size = db.Column(db.String(120), nullable=False)
filename = db.Column(db.String(120), nullable=False)
doi = db.Column(db.String(120), nullable=True)
blurb = db.Column(db.Text, nullable=True)

def generate_link(self):
s3_client = boto3.client("s3")
Expand Down

0 comments on commit 60d094c

Please sign in to comment.