Skip to content

Commit

Permalink
Merge pull request #35 from vendrinc/jelder/truncate-cascade
Browse files Browse the repository at this point in the history
Use CASCADE option with --truncate
  • Loading branch information
Jacob Elder authored Sep 25, 2023
2 parents d2e0208 + 99ce16b commit 442f179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ fn main() -> Result<(), Box<dyn Error>> {
if options.truncate {
writeln!(
std::io::stdout(),
"TRUNCATE TABLE\n {}\n;",
"TRUNCATE TABLE\n {} CASCADE\n;",
// `iter_intersperse` is an unstable feature in the standard
// library. When it stabilises, we can remove `itertools` and
// just chain into `Iterator.intersperse` instead.
Expand Down

0 comments on commit 442f179

Please sign in to comment.