Skip to content

generate-migrations now accepts a statement separator - #188

Merged
fukamachi merged 1 commit into
fukamachi:masterfrom
daninus14:migration-multistatement-separator
Jan 13, 2026
Merged

generate-migrations now accepts a statement separator#188
fukamachi merged 1 commit into
fukamachi:masterfrom
daninus14:migration-multistatement-separator

Conversation

@daninus14

Copy link
Copy Markdown
Contributor

For multiple database connectors to do migrations with multiple statements, including cl-dbi, the statements must be separated by --;; on a new line. This change provides a way to provide a custom separator when generating migrations.

The default functionality stays the same. This change provides the flexibility to specify a statement separator so that sxql and cl-dbi will work with the generated statements.

Note that to test the functionality, multiple changes have to be done compared to the state of the DB in order to see multiple statements generated.

For multiple database connectors to do migrations with multiple statements, including dbi, thestatements
must be separted by `--;;` on a new line. This change provides a way
to provide a custom separator when generating migrations.
@fukamachi
fukamachi merged commit 53b8f29 into fukamachi:master Jan 13, 2026
1 check failed
@fukamachi

Copy link
Copy Markdown
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants