Skip to content

Commit

Permalink
create cascade (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuckHend authored Mar 30, 2023
1 parent 974df79 commit 878c4a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coredb-operator/src/extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ pub async fn toggle_extensions(
);
continue;
}
format!("CREATE EXTENSION IF NOT EXISTS \"{ext_name}\" SCHEMA {schema_name};")
format!("CREATE EXTENSION IF NOT EXISTS \"{ext_name}\" SCHEMA {schema_name} cascade;")
}
false => {
info!("Dropping extension: {}, database {}", ext_name, database_name);
Expand Down

0 comments on commit 878c4a9

Please sign in to comment.