Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add GH sponsors to FUNDING.yml #222

Merged
merged 1 commit into from
Mar 3, 2025
Merged

chore: add GH sponsors to FUNDING.yml #222

merged 1 commit into from
Mar 3, 2025

Conversation

m4tx
Copy link
Member

@m4tx m4tx commented Mar 3, 2025

No description provided.

@m4tx m4tx requested a review from seqre March 3, 2025 16:33
@seqre seqre enabled auto-merge (squash) March 3, 2025 16:34
@seqre seqre merged commit 098fc5a into master Mar 3, 2025
19 checks passed
@seqre seqre deleted the m4tx-patch-1 branch March 3, 2025 16:44
seqre pushed a commit that referenced this pull request Mar 4, 2025
seqre added a commit that referenced this pull request Mar 4, 2025
This is pointless by itself now, but it will be needed in future changes.

refactor: split generating and writing migrations

refactor: minor fixes

refactor: extract operations to separate struct

fix: make tests pass

chore: use better method names

chore: use new names in tests

test: add few

chore: add GH sponsors to FUNDING.yml (#222)

(cherry picked from commit 098fc5a)

fix: include APP_NAME in model (#228)

(cherry picked from commit ffc8870)

feat: support "Remove Model" in Automatic Migration Generator (#221)

* Add support for removing models in automatic migration generator

Implement the ability to detect when a model has been removed from the
codebase and generate appropriate migration operations.
This includes:
- Add RemoveModel variant to OperationInner enum in migrations.rs
- Create RemoveModelBuilder for constructing remove operations
- Implement make_remove_model_operation in migration_generator.rs
- Update relevant utility functions to handle the new operation type
- Add tests for the new functionality
Fixes #207

* Update cot-cli/src/migration_generator.rs

---------

Co-authored-by: Marek Grzelak <marek.grzelak@praetorian.com>
seqre added a commit that referenced this pull request Mar 4, 2025
This is pointless by itself now, but it will be needed in future changes.

refactor: split generating and writing migrations

refactor: minor fixes

refactor: extract operations to separate struct

fix: make tests pass

chore: use better method names

chore: use new names in tests

test: add few

chore: add GH sponsors to FUNDING.yml (#222)

(cherry picked from commit 098fc5a)

fix: include APP_NAME in model (#228)

(cherry picked from commit ffc8870)

feat: support "Remove Model" in Automatic Migration Generator (#221)

* Add support for removing models in automatic migration generator

Implement the ability to detect when a model has been removed from the
codebase and generate appropriate migration operations.
This includes:
- Add RemoveModel variant to OperationInner enum in migrations.rs
- Create RemoveModelBuilder for constructing remove operations
- Implement make_remove_model_operation in migration_generator.rs
- Update relevant utility functions to handle the new operation type
- Add tests for the new functionality
Fixes #207

* Update cot-cli/src/migration_generator.rs

---------
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