Skip to content

Commit 43b944f

Browse files
authored
fix: pgvector mis-mapped in codegen (#2589)
1 parent df86e66 commit 43b944f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sea-orm-codegen/src/entity/column.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ impl Column {
7676
ColumnType::Array(column_type) => {
7777
format!("Vec<{}>", write_rs_type(column_type, date_time_crate))
7878
}
79-
ColumnType::Vector(_) => "::pgvector::Vector".to_owned(),
79+
ColumnType::Vector(_) => "PgVector".to_owned(),
8080
ColumnType::Bit(None | Some(1)) => "bool".to_owned(),
8181
ColumnType::Bit(_) | ColumnType::VarBit(_) => "Vec<u8>".to_owned(),
8282
ColumnType::Year => "i32".to_owned(),

0 commit comments

Comments
 (0)