1.0 KiB
1.0 KiB
Poll-system
ADDRESSES:
- A giant dataset of all the addresses and their log,lat location (not interactive)
- A user able to see his ward addresses
- Assing the address to a user whose role is leader or volunteer
- mass assign addresses to the user, multiple houses can be assined ith tiem left blank
- we can assing only after checking id the volunter is free on that day and time
- volunteer schedualing their time and date
- view the volunteers schedualling preference
TODO
VOLUNTEER
- Volunteer Schdual
- Appointment
APPOINTMENT
create table user_addresses
(
user_id integer not null
references users
on delete cascade,
address_line1 varchar(200) not null,
address_line2 varchar(200),
city varchar(100),
province varchar(100),
country varchar(100),
postal_code varchar(20) not null,
created_at timestamp default now(),
updated_at timestamp default now(),
primary key (user_id, address_line1, postal_code)
);```