cli/oracle database support for db create and drop#1764
Merged
zainforbjs merged 5 commits intodevelopfrom Oct 16, 2025
Merged
Conversation
Contributor
zainforbjs
commented
Oct 14, 2025
- Oracle database support (CREATE/DROP USER)
- Oracle CDB compatibility with _ORACLE_SCRIPT session variable
- Interactive datasource creation wizard (MySQL, PostgreSQL, MSSQL, Oracle, H2)
- Oracle identifier validation (no hyphens allowed)
- Oracle database support (CREATE/DROP USER) - Oracle CDB compatibility with _ORACLE_SCRIPT session variable - Interactive datasource creation wizard (MySQL, PostgreSQL, MSSQL, Oracle, H2) - Oracle identifier validation (no hyphens allowed)
- Generic database variable naming: Changed from database-specific prefixes (MYSQL_HOST, MSSQL_HOST) to generic DB_* variables (DB_HOST, DB_PORT, DB_DATABASE, DB_USER, DB_PASSWORD)
- Enhanced getDatasourceInfo(): Reads actual credentials from .env.{environment} files instead of unresolved placeholders from app.cfm
- Fixed credential mapping: DB_USER now correctly maps to dsInfo.username (not dsInfo.user)
- Fixed regex patterns: Changed double backslashes to single backslashes for proper regex matching
- Deferred datasource writing: Skip writing datasource to app.cfm during wheels env setup --skipDatabase to prevent unresolved placeholder loading
- Post-creation datasource write: Added writeDatasourceToAppCfmWithEnvVars() to write datasource after successful database creation
- Made writeDatasourceToAppCfm() public: Changed from private to public for external access
- Interactive credential prompting: Added prompts in wheels env setup when credentials not provided for non-H2 databases
- Early environment validation: Check environment existence before prompting for credentials
- Fixed duplicate error messages: Error messages now display once with proper exception propagation
- Update config/environment.cfm: wheels env switch now updates set(environment="...") value
- Updated .env file generation: Uses generic DB_* variables for all database types
- Updated connection strings: All use generic DB_* placeholders in app.cfm
- Updated documentation: Comprehensive updates to both command guides with examples and explanations
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.