File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
wundergraph_cli/src/infer_schema_internals Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ pub fn load_foreign_key_constraints(
7979 Ok ( constraints)
8080}
8181
82- pub fn determine_column_type ( attr : & ColumnInformation ) -> Result < ColumnType , Box < Error > > {
82+ pub fn determine_column_type ( attr : & ColumnInformation ) -> Result < ColumnType , Box < dyn Error > > {
8383 let tpe = determine_type_name ( & attr. type_name ) ?;
8484 let unsigned = determine_unsigned ( & attr. type_name ) ;
8585
@@ -91,7 +91,7 @@ pub fn determine_column_type(attr: &ColumnInformation) -> Result<ColumnType, Box
9191 } )
9292}
9393
94- fn determine_type_name ( sql_type_name : & str ) -> Result < String , Box < Error > > {
94+ fn determine_type_name ( sql_type_name : & str ) -> Result < String , Box < dyn Error > > {
9595 let result = if sql_type_name == "tinyint(1)" {
9696 "bool"
9797 } else if sql_type_name. starts_with ( "int" ) {
You can’t perform that action at this time.
0 commit comments