Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Oracle "synonym as table" support

$
0
0
Dear developer team.

We have the following situation:
- exists main database A which allows access to user B:
  1. GRANT ALL ON DATABASECHANGELOG TO B;
    GRANT ALTER, UPDATE, SELECT, INSERT, DELETE ON DATABASECHANGELOGLOCK TO B;
- exists second database B which connects tables as synonym:
  1. CREATE OR REPLACE EDITIONABLE SYNONYM DATABASECHANGELOG FOR A.DATABASECHANGELOG;
    CREATE OR REPLACE EDITIONABLE SYNONYM DATABASECHANGELOGLOCK FOR A.DATABASECHANGELOGLOCK;
Now on starting liquibase it does not see those tables (synonyms) and allows to create new tables DATABASECHANGELOG and DATABASECHANGELOGLOC. And sure we have exception like "object already exists".

I think it would be nice feature to interpret table synonyms as tables.

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>