Skip to content

Commit

Permalink
Move import ColumnOption used only by alter-table feature (gluesq…
Browse files Browse the repository at this point in the history
  • Loading branch information
ever0de committed Nov 19, 2022
1 parent 24ec33b commit a833f82
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions core/src/ast/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,16 +235,15 @@ impl ToSql for Assignment {
#[cfg(test)]
mod tests {
#[cfg(feature = "alter-table")]
use crate::ast::AlterTableOperation;
use crate::ast::{AlterTableOperation, ColumnOption};

#[cfg(feature = "index")]
use crate::ast::OrderByExpr;

use {
crate::ast::{
Assignment, AstLiteral, BinaryOperator, ColumnDef, ColumnOption, DataType, Expr, Query,
Select, SelectItem, SetExpr, Statement, TableFactor, TableWithJoins, ToSql, Values,
Variable,
Assignment, AstLiteral, BinaryOperator, ColumnDef, DataType, Expr, Query, Select,
SelectItem, SetExpr, Statement, TableFactor, TableWithJoins, ToSql, Values, Variable,
},
bigdecimal::BigDecimal,
std::str::FromStr,
Expand Down

0 comments on commit a833f82

Please sign in to comment.