When Rocket generates a script
Whenever your app creates or updates tables, Rocket automatically generates a Supabase script. It appears in the chat window with a preview and two options: push or discard.

Script popup with preview and actions
- A clickable script name to preview the schema.
- A Push to Supabase button to apply the changes.
- A Discard button to skip the script.


Migration script in the Rocket editor
What happens if you skip it
If you ignore the popup, the changes will not apply to Supabase. Rocket does not automatically retry or reapply missed scripts. Push them as they appear to keep your schema in sync.Troubleshooting push errors
If a script fails to push, here is how to identify and resolve common issues.1. Supabase project is paused


Paused project error message
Open your Supabase dashboard
Restore the project
Push the script again


Restore button in Supabase dashboard
2. Supabase project was deleted or disconnected


Deleted or disconnected project error
Open the Supabase connector
Select a valid project
Save and retry


Select a valid Supabase project from the Connectors panel
3. Supabase is temporarily down


Temporary Supabase outage error
4. The script has a schema error


Script error with Fix it option
Manually running a script
If you discarded a script and later want to apply it, you can run it manually in Supabase.Copy the SQL from the script popup


Script preview with copy option
supabase/migrations/ folder. Each script is saved there with a name and timestamp. Copy the SQL from the script you want.

Code tab with Supabase migration folder
Run the SQL in Supabase


SQL editor in Supabase with pasted script
supabase/migrations/ folder in sequence to match your app’s schema.
