Repository navigation
refactor(field-studio): remove organization-specific migration logic - #6
Merged
vitormattos merged 4 commits intoNov 12, 2026
Merged
Conversation
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Keep Field Studio a generic Akaunting module for defining, validating, storing and auditing custom fields, with no organization-specific configuration or historical migration logic bundled in its code.
Changes
scripts/production-metadata.php.Domain/ProductionMetadataText.phpand its dedicated tests.docs/operations.md.README.md,docs/development.md, andAGENTS.md.Company-specific field definitions, policies, discounts, normalization procedures and business rules are not shipped or versioned by Field Studio. Organizations configure their fields at runtime through its UI/API.
Data safety
This is source-code/documentation removal only. No database schema changes, no changes to custom field CRUD, no migration execution, and no deletion or update of stored definitions, values, audit rows, invoices or payments. The Field Studio's own generic database migrations remain intact. Existing installed runtime data is preserved. No production deployment is included.
Validation performed
php -l(PHP 8.4 container) — passed.php tests/i18n-check.php— passed (176 catalog strings; 136 references).node --checkfor all remaining JS tests — passed.module.jsonandcomposer.jsonparse — passed.git diff --check origin/main...HEAD— passed.End-to-end API/browser tests against an isolated Akaunting installation were not executed in this change. CI status must be evaluated at the final HEAD.
Scope exclusions
No alteration of the existing company-specific definitions and values in any installed instance; no changes to the separate
#7select-persistence fix; no migration or data cleanup on Conceição.