forked from PeterSurda/inoreader2readwise
Compare commits
2 Commits
a17303347f
...
fec1929d72
Author | SHA1 | Date | |
---|---|---|---|
fec1929d72 | |||
6ad03b120c |
|
@ -17,7 +17,8 @@ class Token(db.Model):
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return f'<Token {self.id}>'
|
return f'<Token {self.id}>'
|
||||||
|
|
||||||
# Initialize the database
|
# Create an application context
|
||||||
|
with app.app_context():
|
||||||
db.create_all()
|
db.create_all()
|
||||||
|
|
||||||
# API to create a new token entry
|
# API to create a new token entry
|
||||||
|
|
Loading…
Reference in New Issue
Block a user