Skip to content

Commit

Permalink
⬆️ upgrade sqlparser dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Odonno committed Feb 24, 2024
1 parent 55c99be commit aec28d6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ regex = "1.10.2"
rust-ini = "0.20.0"
serde = { version = "1.0.193", features = ["derive"] }
serde_json = "1.0.108"
sqlparser = "0.40.0"
sqlparser = "0.43.1"
surrealdb = { version = "1.1.1", features = ["protocol-http"] }
tokio = { version = "1.35.0", features = ["macros"] }

Expand Down
2 changes: 1 addition & 1 deletion src/scaffold/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ fn convert_ast_to_surrealdb_schema(
None => format!("{}_{}_index", table_name, field_name),
};

if let sqlparser::ast::ColumnOption::Unique { is_primary } =
if let sqlparser::ast::ColumnOption::Unique { is_primary, .. } =
column_option.option
{
if !is_primary {
Expand Down

0 comments on commit aec28d6

Please sign in to comment.