Skip to content

Commit

Permalink
chore(module-index): update API usage with sea-orm
Browse files Browse the repository at this point in the history
References: SeaQL/sea-orm#1740
References: SeaQL/sea-orm#1755

Signed-off-by: Fletcher Nichol <[email protected]>
  • Loading branch information
fnichol committed Dec 20, 2023
1 parent d66b0fd commit 5a7fcd7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions lib/module-index-server/src/models/si_module.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
use sea_orm::{
entity::prelude::*,
sea_query::{self, IdenStatic},
TryGetError,
};
use sea_orm::{entity::prelude::*, sea_query, DeriveIden, TryGetError};
use serde::{Deserialize, Serialize};
use std::str::FromStr;
use ulid::Ulid;
Expand Down Expand Up @@ -161,7 +157,7 @@ impl sea_orm::TryGetable for ModuleId {
}
}

#[derive(IdenStatic, Clone, Copy)]
#[derive(DeriveIden, Clone, Copy)]
struct UlidIdentType;

impl sea_query::ValueType for ModuleId {
Expand Down

0 comments on commit 5a7fcd7

Please sign in to comment.