This document contains the current tables and fields in the rpms database, and lists the proposed tables and fields for rpms 2.0.
Current tables in rpms database
1. users
1. [id auto-increment]
2. fname
3. lname
4. email
5. phone
6. organization
7. method_of_contact
2. admin_infrastructure_status
1. [id auto-increment]
2. projectid
3. infrastructure_status
4. infrastructure_modified_by
5. infrastructure_modified_date
6. infrastructure_comments
3. admin_project_status
1. [id auto-increment]
2. projectid
3. project_status
4. project_modified_by
5. project_modified_date
6. project_comments
4. connectivity
1. [id auto-increment]
2. projectid
3. outside_access
4. custom_network_config
5. outside_agency
6. inside_agency
7. additional_info
5. project
1. [id auto-increment]
2. userid
3. title
4. date_of_request
5. start_date
6. end_date
7. num_personnel
8. project_summary
9. summary_status
10. project_type
11. project_use
6. project_output
1. [id auto-increment]
2. projectid
3. outcome_summary
4. publications
7. project_resources
1. [id auto-increment]
2. projectid
3. consultation
4. developer_resources
5. lab
6. lab_start_date
7. length
8. workstations
8. project_summary
1. [id auto-increment]
2. projectid
3. motivation
4. vision
5. stakeholder1
6. role1
7. stakeholder2
8. role2
9. stakeholder3
10. role3
11. stakeholder4
12. role4
13. stakeholder5
14. role5
15. stakeholder6
16. role6
17. datasources
18. steps
19. metrics
20. project_additional_info
9. tr_desktop
1. [id auto-increment]
2. projectid
3. dt_qty
4. dt_operating_system
5. dt_memory
6. dt_disk
7. dt_vm
8. dt_software
9. dt_notes
10. tr_server
1. [id auto-increment]
2. projectid
3. server_qty
4. server_operating_system
5. server_memory
6. server_disk
7. server_vm
8. server_software
9. server_notes
New tables in rpms 2.0
1. project_main
- id [primary auto-increment: int 5]
- project_created [Unix timestamp]
- group_name [char 200]
- project_title [char 200]
- start_date [Unix timestamp]
- end_date [Unix timestamp]
- approved_start [Unix timestamp]
- approved_end [Unix timestamp]
- project_type [char 50]
- project_use [char 50]
- summary [char 1000]
- goals [char 1000]
- success [char 1000]
- outside_resources [boolean]
- outside_notes [char 1000]
- test_data [boolean]
- test_data_notes [char 1000]
- third_party [boolean]
- third_party_notes [char 1000]
- additional_information [char 1000]
- project_outcome [char 1000]
- admin_change_date [Unix timestamp]
- admin_selection [char 50]
- admin_name [char 50]
- admin_notes [char 200]
- infra_change_date [Unix timestamp]
- infrastructure_selection [char 50]
- infrastructure_name [char 50]
- infrastructure_notes [char 200]
- total_VM [char 2]
- total_physical [char 2]
- total_online [char 2]
- total_other [char 2]
2. personnel
- id (primary auto-increment record id: int 5)
- projectid (foreign key int 5)
- first_name [char 100]
- last_name [char 100]
- title (char 100)
- organization [char 200]
- phone [char 50]
- email [char 100]
- primary_contact [boolean]
- need_login [boolean]
- notify_user [boolean]
- user_name [char 50]
3. stakeholders
- id (primary auto-increment record id: int 5)
- projectid (foreign key int 5)
- name [char 100]
- role (char 100)
4. resources
- id (primary auto-increment record id: int 5)
- projectid (foreign key int 5)
- request_date [Unix timestamp]
- resource_type (char 20)
- device_config [char 100]
- notes [char 1000]
- external_access [boolean]
- subdomain [char 100]
- server_port [char 50]
- external_port [char 50]
- device_name [char 100]
- inventory [char 100]
- internal_notes [char 1000]
- proxy_from (char 50)
- proxy_to (char 50)
- start_name [char 50]
- end_name [char 50]
- start_date [Unix timestamp]
- end_date [Unix timestamp]
5. project_date_history
- id (primary auto-increment record id: int 5)
- projectid (foreign key int 5)
- approved_change [Unix timestamp]
- approved_start [Unix timestamp]
- approved_end [Unix timestamp]
6. status_history
- id (primary auto-increment record id: int 5)
- projectid (foreign key int 5)
- type_of_status (char 20)
- status_changed_date [Unix timestamp]
- status_selection [char 50]
- status_name [char 50]
- status_notes [char 200]
7. resources_history
- id (primary auto-increment record id: int 5)
- changed_date [Unix timestamp]
- projectid (foreign key int 5)
- request_date [Unix timestamp]
- resource_type (char 20)
- device_config [char 100]
- notes [char 1000]
- external_access [boolean]
- subdomain [char 100]
- server_port [char 50]
- external_port [char 50]
- device_name [char 100]
- inventory [char 100]
- internal_notes [char 1000]
- proxy_from (char 50)
- proxy_to (char 50)
- start_name [char 50]
- end_name [char 50]
- start_date [Unix timestamp]
- end_date [Unix timestamp]
Descriptions for tables and fields in rpms 2.0
1. engagement details not in other tables
- record key (foreign key for all others)
- date the project application is submitted
- internally assigned group name
- users project title
- users requested project start date
- users requested project end date
- internal project start date
- internal project end date
- internal (Prototype, Evaluation, Hybrid)
- internal (Internal, External, Collaborative)
- users project summary
- users project goals
- users success criteria
- User resources connect to outside the lab?
- notes for previous
- users primary sources of test data
- notes for previous
- user needs access to third-party web/apps
- notes for previous
- users additional information
- internal project outcome/summary
- date this administration status changed to
- internal (On Hold, Submitted, Rejected, etc...)
- status changer's name
- status changer's notes
- date this infrastructure status changed to
- internal (Ready, To Set Up, On Hold, etc...)
- status changer's name
- status changer's notes
- total VMs for summary page
- total physical equipment (non-VM)
- total online resources
- total other resources
2. user's team members who may need access
- record key
- foreign key from project table
- team member's first name
- team member's last name
- team member's title
- team member's organization name
- team member's phone number
- team member's email address
- is this the primary Team member
- does this team member need a login
- communication selector, internal use only
- internal user name
3. (users/actors) in proposed engagement
- record key
- foreign key from project table
- person's full name
- person's role in this project
4. technology requirements
- record key
- foreign key from project table
- creation of this request
- (virtual, physical, online, other)
- configuration or OS/software
- user's resource notes
- VM to be externally accessible
- user's requested subdomain
- (e.g. 8080)
- (e.g, 80)
- VM name or physical device model/name
- physical device serial number
- notes for internal use only
- from server name
- to server name
- device handed to or checked out by name
- device received by name (internal receiver)
- VM/device use starting date (internal)
- VM/device use ending date (internal)
5. change history of project approved dates
- record key
- foreign key from project table
- project approved starting date (internal)
- project approved ending date (internal)
- date changed from this start/end date
6. history of all status changes
- record key
- foreign key from project table
- Which status changed? (admin, tech)
- date changed to this status
- see project table, #23/27
- see project table, #24/28
- see project table, #25/29
7. proposed db trigger: before update, copy here
- new/this record key
- date changed resource from these fields
- see resources table for rest of this
END