You can either specify a SQL file in your workspace (using Administration > Custom Actions), or have the SQL files bundled and published to your binary repository (recommended).
The four available phases you can use combined with RCU:
rcu-create-pre
rcu-create-post
rcu-drop-pre
rcu-drop-post
Prerequisites
Preparing the SQL Files
Workspace
Go to Administration > Custom Actions
Create a sql script in the workspace
Binary Repository
Create a ZIP file and publish to your binary repository
Ensure that you have a MyST Studio Continuous Delivery Profile defined that is pointing to your binary repository
Configuring MyST Studio
Workspace
If you use the Workspace method: 1. Define the SQL deployment definition in the global properties section