Works out a database schema by the column naming convention where no foreign keys are defined