Compare commits

...

5 Commits

Author SHA1 Message Date
Paweł Skurzyński
d7117a232d zmieniono dim_store 2023-12-16 10:41:36 +01:00
Rafał Charzewski
3a5281a186 Merge branch 'master' of https://git.wmi.amu.edu.pl/s1201682/Hurtownie_Danych 2023-12-16 10:31:38 +01:00
Rafał Charzewski
200c65905b komentarze do dim staff 2023-12-16 10:31:26 +01:00
Paweł Skurzyński
6a39be8b8e Merge branch 'master' of https://git.wmi.amu.edu.pl/s1201682/Hurtownie_Danych 2023-12-16 10:28:57 +01:00
Paweł Skurzyński
a1c8bf875c zmieniono dim_car 2023-12-16 10:28:29 +01:00

View File

@ -54,17 +54,16 @@ CREATE TABLE `dim_equipment` (
); );
CREATE TABLE `dim_store` ( CREATE TABLE `dim_store` (
`sk_store_id` int PRIMARY KEY, `store_id` int PRIMARY KEY,
`nk_store_id` int , `store_key` int ,
`store_manager_id` int , `is_active` varchar(64) ,
`store_manager_start_date` DATE ,
`store_manager_end_date` DATE ,
`active_manager` 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)
`store_manager_name varchar(64) ,
`valid_from` DATE ,
`valid_to` DATE
); );
CREATE TABLE `bridge_equipment` ( CREATE TABLE `bridge_equipment` (
@ -79,8 +78,8 @@ CREATE TABLE `dim_service_type` (
CREATE TABLE `dim_staff` ( CREATE TABLE `dim_staff` (
`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) ,