admin core func done

This commit is contained in:
Mann Patel
2025-08-27 13:21:11 -06:00
parent 9148f011ad
commit 6edd4ee030
29 changed files with 2152 additions and 1139 deletions

View File

@@ -1,2 +1,38 @@
# 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
````sql
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)
);```
````