Add DB alias config option

Registered by Anthony Bush

There should be a generation level config option that allows customizing what DB alias is written to the generated files. For example, if the DB environment has to DBs (name_dev and name_prod), and you generate off name_dev, then you are required to put an entry in the application DB config's db_name_hash array for "name_dev" => ("name_dev" or "name_prod"). Instead, this option would allow the db_name_hash to have an entry like this "name" => ("name_dev" or "name_prod") even though "name" isn't actually a physical DB name.

Blueprint information

Status:
Started
Approver:
None
Priority:
Medium
Drafter:
None
Direction:
Approved
Assignee:
Richard Pistole
Definition:
Pending Approval
Series goal:
Accepted for 1.4
Implementation:
Started
Milestone target:
milestone icon 1.4
Started by
Richard Pistole

Sprints

Whiteboard

Have work in progress. Seems to work, needs some testing and cleanup. Checked into my mysqli dev branch.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.