You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
243 B
Rust
10 lines
243 B
Rust
2 years ago
|
#[macro_export]
|
||
|
macro_rules! drop_tables {
|
||
|
($man:expr, $($tbl:expr),*) => {
|
||
|
use sea_schema::migration::prelude::*;
|
||
|
$(
|
||
|
$man.drop_table(TableDropStatement::new().table($tbl).to_owned()).await?;
|
||
|
)*
|
||
|
}
|
||
|
}
|