Comment by kazinator
Not only should code structure not be modeled in a database, even textual code shouldn't be stored in a database. We had version control systems that used databases, and they all sucked. A lot of that suckage had to do with the database.