Commit 11a4b89c authored by Kristian Tan's avatar Kristian Tan

removed SQLALCHEMY create all

parent 57945ef4
from .daily_usage import DailyUsage
\ No newline at end of file
......@@ -6,7 +6,6 @@ import daily_usage
app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///energyUsage'
db = SQLAlchemy(app)
SQLAlchemy.create_all()
db.create_all()
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment