Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#...
class Content(db.Model):
__tablename__ = 'content'
id = db.Column(db.Integer, primary_key=True)
stream_id = db.Column(db.String(64))
title = db.Column(db.String(64))
url = db.Column(db.String(128))
description = db.Column(db.String(256))
timestamp = db.Column(db.DateTime, index=True, default=datetime.utcnow)
collection_id = db.Column(db.Integer, db.ForeignKey('collections.id'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.