Skip to content

Commit

Permalink
Build index & foreign key statements
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Nov 26, 2021
1 parent 1d10ae2 commit 8fd8e59
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/database/statement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ build_schema_stmt!(sea_query::TableDropStatement);
build_schema_stmt!(sea_query::TableAlterStatement);
build_schema_stmt!(sea_query::TableRenameStatement);
build_schema_stmt!(sea_query::TableTruncateStatement);
build_schema_stmt!(sea_query::IndexCreateStatement);
build_schema_stmt!(sea_query::IndexDropStatement);
build_schema_stmt!(sea_query::ForeignKeyCreateStatement);
build_schema_stmt!(sea_query::ForeignKeyDropStatement);

macro_rules! build_type_stmt {
($stmt: ty) => {
Expand Down

0 comments on commit 8fd8e59

Please sign in to comment.