Skip to Main Content

SQLcl: MCP Server & SQL Prompt

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!

SQLcl Projects - Sequences are dropped and recreated during staging

Maurice WilhelmJun 3 2025 — edited Jun 3 2025

Hi everyone,

Last week I have released version 1.0 for my project and deployed it on the production database. Today I have implemented new changes, but after staging these new changes with SQLcl (in /dist/releases/next), I have noticed that it also created new changeset files for all sequences that already existed in v1.0 before. I am using SQLcl Version 25.1.

/dist/releases/next/changes/ms-1/my_schema/sequences:

A drop and re-creation would be an issue here because the sequence is used on a PK column and data already exists on production.

Is this a bug or is it possible to disable this behaviour (eg. via .dbtools/project.config.json)?

Thanks for your help!

Kind regards,

Maurice

This post has been answered by danmcghan-Oracle on Jul 18 2025
Jump to Answer
Comments
Post Details
Added on Jun 3 2025
8 comments
213 views