What is the form of my local postgresql database url?
问题 I am going through a flask/sqlalchemy tutorial https://pythonhosted.org/Flask-SQLAlchemy/quickstart.html#a-minimal-application and I configured my database url to be: postgres://username:password@localhost:5432/dbname when I run db.create_all() in the interactive python shell it doesn't throw any errors, but it doesn't do anything either. From what I understand it is supposed to create the User table with three columns; id, username, and email . from flask import Flask, url_for, render