The Log model was not being registered with SQLAlchemy's metadata, causing the logs table to not be created on startup.