We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73c9e92 commit 31b9eadCopy full SHA for 31b9ead
server/src/bin/delete-all-table.rs
@@ -39,5 +39,5 @@ fn get_all_table_names(conn: &Connection) -> Vec<String> {
39
}
40
41
fn drop_table(conn: &Connection, table_name: &str) {
42
- conn.execute(&format!("DROP TABLE {}", table_name), &[]).unwrap();
+ conn.execute(&format!("DROP TABLE {} CASCADE", table_name), &[]).unwrap();
43
0 commit comments