Skip to content

Commit 78f6bea

Browse files
committed
fix: change default target schema from 'development' to 'public' in DumpCleaner and clean_dump_file function
1 parent 6fc5601 commit 78f6bea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cloudsql_to_supabase/clean.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def __init__(
1919
) -> None:
2020
self.input_file = Path(input_file or config.OUTPUT_DUMP)
2121
self.output_file = Path(output_file or config.CLEANED_DUMP)
22-
self.target_schema = target_schema or"development"
22+
self.target_schema = target_schema or "public"
2323
self.target_owner = target_owner or "postgres"
2424

2525
logger.info(
@@ -183,7 +183,7 @@ def clean_dump_file(
183183
cleaner = DumpCleaner(
184184
input_file=input_file,
185185
output_file=output_file,
186-
target_schema='development',
186+
target_schema= target_schema,
187187
target_owner=target_owner
188188
)
189189
return cleaner.clean_dump_file()

0 commit comments

Comments
 (0)