Skip to content

Commit

Permalink
Remove truncate_schema
Browse files Browse the repository at this point in the history
  • Loading branch information
droserasprout committed Oct 6, 2023
1 parent 7b95d60 commit 300c283
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion src/dipdup/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ async def _pg_wipe_schema(
for table in immune_tables:
await _pg_move_table(conn, table, schema_name, immune_schema_name)

await conn.execute_script(f"SELECT truncate_schema('{schema_name}')")
await conn.execute_script(f"SELECT dipdup_wipe('{schema_name}')")

if immune_tables:
for table in immune_tables:
Expand Down
7 changes: 0 additions & 7 deletions src/dipdup/sql/truncate_schema.sql

This file was deleted.

0 comments on commit 300c283

Please sign in to comment.