note about composite foreign key fields
@@ -74,6 +74,7 @@ pub fn calculate_model(schema: &SqlSchema) -> SqlIntrospectionResult<Datamodel>
.filter(|table| !is_prisma_scalar_list_table(&table))
{
let mut model = Model::new(&table.name);
+ //Todo: This needs to filter out composite Foreign Key columns, they are merged into one new field
for column in table.columns.iter() {
debug!("Handling column {:?}", column);
let field_type = calculate_field_type(&column, &table);
