Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to make DB changes when deploying an APEX app from src to dest...

NikitaRAug 24 2021

Good Day All,
We are using APEX 20.2 on 19c in a Win 2012 env. We have DEV; UAT; and PROD wrkspc, and are cycling our applications accordingly.
The trouble we are running into is this:
In DEV and UAT, I have a simple app using the DEPT tbl. In Dev, I remove a col from the table. When deploying the app, I want to use an Install script to drop the col in the dest wrkspc.
I have been trying to make use of Schema compares to show diff's, and have been trying to use build scripts. However, build scripts only produce CREATE Tbl statements. In the example above, the create will fail because the tbl already exists.
I thought that by using build scripts / Schema compares, it would generate the drop statements for me.
Question: Am I supposed to be doing all of this with DML/DDL, by hand, or am I just not using the tools properly ?

Thnx,
Nikita

This post has been answered by Billy Verreynne on Aug 24 2021
Jump to Answer

Comments

Post Details

Added on Aug 24 2021
2 comments
59 views