fix: oops revert! breaks querying

probably im doing it wrong somewhere else but nonetheless fuck go back
This commit is contained in:
əlemi 2024-04-19 06:21:26 +02:00
parent bccf1f3a26
commit 789fae1eae
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -92,11 +92,11 @@ impl Entity {
.join(sea_orm::JoinType::LeftJoin, crate::model::activity::Relation::Object.def());
for col in crate::model::activity::Column::iter() {
select = select.select_column(col);
select = select.select_column_as(col, format!("{}{}", crate::model::activity::Entity.table_name(), col.to_string()));
}
for col in crate::model::object::Column::iter() {
select = select.select_column(col);
select = select.select_column_as(col, format!("{}{}", crate::model::object::Entity.table_name(), col.to_string()));
}
select