Initialize the databae properly
This commit is contained in:
@@ -1,10 +1,5 @@
|
||||
from freeposte import app, db
|
||||
|
||||
|
||||
# Initialize the database if required (first launch)
|
||||
db.create_all()
|
||||
db.session.commit()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(debug=True)
|
||||
|
||||
Reference in New Issue
Block a user