Compare commits
3 Commits
Pawel_bran
...
master
Author | SHA1 | Date | |
---|---|---|---|
![]() |
53df1a85b6 | ||
![]() |
b0ebb7e308 | ||
![]() |
2399cfb109 |
@ -9,13 +9,13 @@ CREATE TABLE `fact_service` (
|
||||
|
||||
CREATE TABLE `dim_customer` (
|
||||
`customer_id` int PRIMARY KEY,
|
||||
`name` varchar(64) ,
|
||||
`birth_date` DATE ,
|
||||
`email` varchar(64) ,
|
||||
`address` varchar(64) ,
|
||||
`city` varchar(64) ,
|
||||
`country` varchar(64) ,
|
||||
`postal_code` varchar(64)
|
||||
`customer_name` varchar(64) ,
|
||||
`customer_birth_date` DATE ,
|
||||
`customer_email` varchar(64) ,
|
||||
`customer_address` varchar(64) ,
|
||||
`customer_city` varchar(64) ,
|
||||
`customer_country` varchar(64) ,
|
||||
`customer_postal_code` varchar(64)
|
||||
);
|
||||
|
||||
CREATE TABLE `dim_calendar` (
|
||||
@ -28,7 +28,7 @@ CREATE TABLE `dim_calendar` (
|
||||
`calendar_year` int ,
|
||||
`calendar_month_year` int ,
|
||||
`is_weekend` BOOLEAN ,
|
||||
`month_end` BOOLEAN ,
|
||||
`is_month_end` BOOLEAN ,
|
||||
`week_num` int
|
||||
);
|
||||
|
||||
@ -79,12 +79,12 @@ CREATE TABLE `dim_service_type` (
|
||||
|
||||
CREATE TABLE `dim_staff` (
|
||||
`staff_id` int PRIMARY KEY,
|
||||
`staff_full_name` varchar(64) ,
|
||||
`staff_address` varchar(64) ,
|
||||
`staff_city` varchar(64) ,
|
||||
`staff_country` varchar(64) ,
|
||||
`staff_email` varchar(64) ,
|
||||
`staff_manager_name` varchar(64)
|
||||
`full_name` varchar(64) ,
|
||||
`address` varchar(64) ,
|
||||
`city` varchar(64) ,
|
||||
`country` varchar(64) ,
|
||||
`manager_id` int ,
|
||||
`email` varchar(64)
|
||||
);
|
||||
|
||||
CREATE TABLE `dim_car` (
|
||||
|
Loading…
Reference in New Issue
Block a user