""" Database Module """

from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()

""" Database Module """

from flask_sqlalchemy import SQLAlchemy
from penelophant import app
db = SQLAlchemy(app)

Attach app to SQLAlchemy properly
Attach app to SQLAlchemy properly

  """ Database Module """
  
  from flask_sqlalchemy import SQLAlchemy
+ from penelophant import app
- db = SQLAlchemy()
+ db = SQLAlchemy(app)
  
Attach app to SQLAlchemy properly
## Code Before:
""" Database Module """

from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()

## Instruction:
Attach app to SQLAlchemy properly
## Code After:
""" Database Module """

from flask_sqlalchemy import SQLAlchemy
from penelophant import app
db = SQLAlchemy(app)
