fix bug in refresh
This commit is contained in:
parent
8f46b474fd
commit
3a4314397a
1 changed files with 2 additions and 0 deletions
|
|
@ -111,6 +111,8 @@ The setup will consist on preparing:
|
|||
EXECUTE format('DROP SCHEMA %I CASCADE', schema_to_sync);
|
||||
END IF;
|
||||
|
||||
EXECUTE format('CREATE SCHEMA IF NOT EXISTS %I', schema_to_sync);
|
||||
|
||||
-- Step 1.2: Re-import the foreign schema from the server
|
||||
EXECUTE format('IMPORT FOREIGN SCHEMA %I FROM SERVER %I INTO %I',
|
||||
schema_to_sync, server_name, schema_to_sync);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue