Compare commits

..

No commits in common. "fec1929d7294ddeb01affd2cd58ffd1302a96a40" and "a17303347f349d92746090e21553dcdd2ff8ac9f" have entirely different histories.

View File

@ -17,8 +17,7 @@ class Token(db.Model):
def __repr__(self):
return f'<Token {self.id}>'
# Create an application context
with app.app_context():
# Initialize the database
db.create_all()
# API to create a new token entry