Skip to content

feat(tauri): add support for more database object types in DiffRequest#10

Merged
rust17 merged 1 commit intomasterfrom
feat/expanded-db-support
Apr 4, 2026
Merged

feat(tauri): add support for more database object types in DiffRequest#10
rust17 merged 1 commit intomasterfrom
feat/expanded-db-support

Conversation

@rust17
Copy link
Copy Markdown
Owner

@rust17 rust17 commented Apr 4, 2026

Overview

Extended DiffRequestDto and related DTOs to support foreign keys, check constraints, views, triggers, and routines.

Key Changes

  • Added support for foreign keys, check constraints, views, triggers, and routines in DiffRequestDto.
  • Added id, is_identity, and original fields to ColumnDefinitionDto.
  • Added id and original fields to IndexDefinitionDto.
  • Implemented From traits for new DTOs to internal definitions (ForeignKeyDefinition, CheckConstraintDefinition, ViewDefinition, TriggerDefinition, RoutineDefinition).
  • Updated DiffRequest conversion to include new object types.

Verification

  • Code builds successfully (verified by cargo build in the tauri directory).
  • Manual verification of the DTO structure.

Extended DiffRequestDto and related DTOs to support foreign keys, check
constraints, views, triggers, and routines. Added corresponding
conversion logic from DTOs to internal definitions.
@rust17 rust17 merged commit 1aba011 into master Apr 4, 2026
4 checks passed
@rust17 rust17 deleted the feat/expanded-db-support branch April 4, 2026 14:57
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.

1 participant