UMS Database Design v1
UMS Database Design v1
Ha Noi, Sep-2012
v0.1 tggsfdsd
RECORD OF CHANGE
*A - Added M - Modified D Deleted Effective Date Changed Items A* M, D 11-Sep-12 A Create the document 0.1 Change Description New Version
1/11
v0.1 tggsfdsd
SIGNATURE PAGE
ORIGINATOR: Database Team DB Design Team 12-Sep-12
REVIEWERS:
Tn c Hi DB Designer
13-Sep-12
APPROVAL:
2/11
v0.1 tggsfdsd
TABLE OF CONTENTS
1 INTRODUCTION ................................................................................................. 4 1.1 Purpose....................................................................................................................4 1.2 Definitions, Acronyms and Abbreviations.....................................................................4 1.3 References................................................................................................................4 1.4 Overview..................................................................................................................4 2 DATABASE ......................................................................................................... 5 2.1 Physical database model............................................................................................5 2.2 Schema....................................................................................................................6 2.3 List of tables.............................................................................................................6 2.4 Table specifications...................................................................................................6 2.5 Initialize data............................................................................................................9
3/11
v0.1 tggsfdsd
INTRODUCTION
1.1 Purpose
This document details the Design Database for User Management System. This document will also help developers and testers to view database design of application.
1.3 References
No 1 Title MIS_UMS_ UseCaseSpecification_v0.2.doc
1.4 Overview
This document includes following sections: This Introduction. Database. The detailed design for the data stored in relational database.
4/11
v0.1
DATABASE
5/11
v0.1
2.2 Schema
All of the data objects belonging to CIE Pricing Database system will be contained in a schema named dbo.
Description
UMS Database Database Design 6 7 8 10 11 12 13 2.4.2 No Email Cellphone Descriptions CreatedBy CreateDate ModifiedBy ModifieDate Role table Field Name Data Type Not Null 1 2 3 4 5 6 7 2.4.3 No RoleId RoleName Descriptions CreatedBy CreateDate ModifiedBy ModifieDate UserRole table Field Name Data Type Not Null 1 2 user_role_id user_id int int X X X X PK FK Default Value Index Unique Value X X Store Id of UserRole Link from User table Description int nvarchar(128) nvarchar(255) int datetime int datetime X X X PK FK Default Value X Index Unique Value X X Store Id of Role Store Name of Role Store Description of Role Store Id of creator Store Create date Store Id of modifier Store Modify date Description varchar(50) varchar(20) nvarchar(1000) int datetime int datetime Store Email of user Store Phone Number of user Store Description of user Store Id of creator Store Create date Store Id of modifier Store Modify date
v0.1
7/11
UMS Database Database Design 3 2.4.4 No role_id Project table Field Name Data Type Not Null 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ProjectId ProjectCode ProjectName ProjectScope PlannedStartDate PlannedEndDate ActualStartDate ActualEndDate ScrumMaster ProductOwner PlannedEffort ProjectStatus SprintInterval CreatedBy CreateDate ModifiedBy ModifiedDate int varchar(30) nvarchar(128) nvarchar(255) date date date date int int int varchar(20) int int date int date X X X X X X X X X X X PK FK Default Value Index Unique Value X Store Id of Project Store code of project Store name of project Store scope of project Store the planned start date of project Store the planned end date of project Store the actual start date of project Store the actual end date of project Store Id of user that is the scrum master of project Store Id of user that is the product owner of project Store the planned effort of project Store the status of project Store the sprint interval of project Store Id of creator Store Create date Store Id of modifier Store Modify date Description int X X X Link from Role table
v0.1
8/11
v0.1
2.5.2
Role table ID 1 2 3 4 5 RoleName SA AM SC BM NU Description System Administrator Application Manager Scrum Master BM Normal User
2.5.3
9/11