diff --git a/lib/module-index-server/src/models/si_module.rs b/lib/module-index-server/src/models/si_module.rs index 21626b968f..e2bc14abfd 100644 --- a/lib/module-index-server/src/models/si_module.rs +++ b/lib/module-index-server/src/models/si_module.rs @@ -6,7 +6,7 @@ pub mod module_id; pub mod schema_id; pub use module_id::ModuleId; -pub use schema_id::SchemaId; +// pub use schema_id::SchemaId; #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)] #[serde(rename_all = "camelCase")] @@ -98,12 +98,12 @@ pub struct Model { pub kind: ModuleKind, pub is_builtin_at: Option, pub is_builtin_at_by_display_name: Option, - #[sea_orm(column_type = "Text")] - pub schema_name: Option, - #[sea_orm(column_type = "Text")] - pub schema_category: Option, - #[sea_orm(column_type = r##"custom("ident")"##)] - pub schema_id: Option, + // #[sea_orm(column_type = "Text")] + // pub schema_name: Option, + // #[sea_orm(column_type = "Text")] + // pub schema_category: Option, + // #[sea_orm(column_type = r##"custom("ident")"##)] + // pub schema_id: Option, } #[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)] diff --git a/lib/module-index-server/src/routes/promote_builtin_route.rs b/lib/module-index-server/src/routes/promote_builtin_route.rs index 96b2464d36..4860f652bf 100644 --- a/lib/module-index-server/src/routes/promote_builtin_route.rs +++ b/lib/module-index-server/src/routes/promote_builtin_route.rs @@ -91,9 +91,9 @@ pub async fn promote_builtin_route( Utc.fix(), ))), is_builtin_at_by_display_name: Set(Some(data)), - schema_name: Set(module.schema_name), - schema_category: Set(module.schema_category), - schema_id: Set(module.schema_id), + // schema_name: Set(module.schema_name), + // schema_category: Set(module.schema_category), + // schema_id: Set(module.schema_id), }; let updated_module: si_module::Model = active_module.update(&txn).await?; diff --git a/lib/module-index-server/src/routes/reject_module_route.rs b/lib/module-index-server/src/routes/reject_module_route.rs index 2c08c7810e..c7b15ad15b 100644 --- a/lib/module-index-server/src/routes/reject_module_route.rs +++ b/lib/module-index-server/src/routes/reject_module_route.rs @@ -91,9 +91,9 @@ pub async fn reject_module( kind: Set(module.kind), is_builtin_at: Set(module.is_builtin_at), is_builtin_at_by_display_name: Set(module.is_builtin_at_by_display_name), - schema_category: Set(module.schema_category), - schema_name: Set(module.schema_name), - schema_id: Set(module.schema_id), + // schema_category: Set(module.schema_category), + // schema_name: Set(module.schema_name), + // schema_id: Set(module.schema_id), }; let updated_module: si_module::Model = dbg!(active_module.update(&txn).await)?;