Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tyt2y3 committed Dec 26, 2024
1 parent c26af49 commit 9a8fb19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sqlite/def/column.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use super::{parse_type, DefaultType};
use super::DefaultType;
use sea_query::{
foreign_key::ForeignKeyAction as SeaQueryForeignKeyAction, Alias, ColumnType, Index,
IndexCreateStatement,
Expand Down Expand Up @@ -29,7 +29,7 @@ impl ColumnInfo {
Ok(ColumnInfo {
cid: row.get(0),
name: row.get(1),
r#type: parse_type(row.get(2))?,
r#type: super::parse_type(row.get(2))?,
not_null: col_not_null != 0,
default_value: if default_value == "NULL" {
DefaultType::Null
Expand Down

0 comments on commit 9a8fb19

Please sign in to comment.