branch_rafal #1

Closed
s1201682 wants to merge 5 commits from branch_rafal into master

View File

@ -54,14 +54,13 @@ CREATE TABLE `dim_equipment` (
); );
CREATE TABLE `dim_store` ( CREATE TABLE `dim_store` (
`sk_store_id` int PRIMARY KEY, `store_key` int PRIMARY KEY,
`nk_store_id` int , `store_id` int ,
`store_manager_id` int , `store_manager_name varchar(64) ,
`store_manager_start_date` DATE , `active_from` DATE ,
`store_manager_end_date` DATE , `active_to` DATE ,
`active_manager` varchar(64) , `is_active` varchar(64) ,
`store_address` varchar(64) , `store_address` varchar(64) ,
`store_address2` varchar(64) ,
`store_postal_code` varchar(64) , `store_postal_code` varchar(64) ,
`store_city` varchar(64) , `store_city` varchar(64) ,
`store_country` varchar(64) `store_country` varchar(64)
@ -78,9 +77,10 @@ CREATE TABLE `dim_service_type` (
); );
CREATE TABLE `dim_staff` ( CREATE TABLE `dim_staff` (
`id` int,
`staff_id` int PRIMARY KEY, `staff_id` int PRIMARY KEY,
`staff_full_name` varchar(64) , `staff_full_name` varchar(64) , -- zawiera first_name i last_name
`staff_address` varchar(64) , `staff_address` varchar(64) , -- złączenie address oraz address2
`staff_city` varchar(64) , `staff_city` varchar(64) ,
`staff_country` varchar(64) , `staff_country` varchar(64) ,
`staff_email` varchar(64) , `staff_email` varchar(64) ,