DB String Type Cleanup
The proposal here is to change from using SQLAlchemy's String type directly in our models to using logical datatypes that may or may not (depending on the database) map to string columns under the hood.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Rick Harris
- Direction:
- Needs approval
- Assignee:
- Rick Harris
- Definition:
- Drafting
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Looks like a good idea to enforce some consistency and reduce errors in the models & migrations.
Gerrit topic: https:/
Addressed by: https:/
Use types.UUID instead of String(36)
Addressed by: https:/
Use types.IPAddress() instead of String(39)
Addressed by: https:/
Use types.CIDR instead of String(43)
Addressed by: https:/
Use types.NetworkPr
Addressed by: https:/
Use types.PCIAddress() instead of String(12)
Addressed by: https:/
Use types.PCIDevice
Addressed by: https:/
Use PCIProductID(
Addressed by: https:/
Use String(255) instead of String(256)
Addressed by: https:/
Use types.String() instead of String(255)
Addressed by: https:/
Use types.SMBackend
Looks like a good idea to enforce some consistency and reduce errors in the models & migrations.
Gerrit topic: https:/
Addressed by: https:/
Use types.UUID instead of String(36)
Addressed by: https:/
Use types.IPAddress() instead of String(39)
Addressed by: https:/
Use types.CIDR instead of String(43)
Addressed by: https:/
Use types.NetworkPr
Addressed by: https:/
Use types.PCIAddress() instead of String(12)
Addressed by: https:/
Use types.PCIDevice
Addressed by: https:/
Use PCIProductID(
Addressed by: https:/
Use String(255) instead of String(256)
Addressed by: https:/
Use types.String() instead of String(255)
Addressed by: https:/
Use types.SMBackend
If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)