To jest stara wersja strony!
Projekt logiczny [In Progress]
Doprecyzowanie struktury bazy
Słowniki danych
address
id
street
house_number
flat_number
town
postal_code
post_office
cars
id
registration_number
brand
model
colour
year
examination_date
insurance_date
category
distance
categories
category_code
category_name
courses
id
start_date
type
practical_training
theoretical_training
driving_lessons
id
student_id
instructor_id
start_time
end_time
course_id
status
distance
car_id
employees
groups
instructors
internal_exams
id
student_id
course_id
type
result
date
instructor
errors
parameter_groups
parameters
name
desc
type
value
group_id
payments
id
amount
date
student_id
accepted_by
status
due_date
description
payments_status
roles
roles_groups
status
student_categories
student_courses
course_id
student_id
medical_certificate
instructor
certificate_number
end_date
students
theoretical_lessons
id
course_id
instructor_id
subject
date
hours
class
users - tabela przechowująca dane o użytkownikach aplikacji
id - klucz główny, integer, NOT NULL
username - nazwa użytkownika, username VARCHAR(32) not null,
pass_sha256 - zaszyfrowane hasło, char(64), not null
pass_salt - sól, char(64), not null
code_sha256 - char(64)
email - adres e-mail użytkownika, varchar(128), not null
phone - nr telefonu, varchar(16)
mobile - nr telefonu komórkowego, varchar(16)
status - status użytkownika, odniesienie do tabeli status (ID), integer not null
first_name - imię, VARCHAR(64)
last_name - nazwisko, VARCHAR(64)
pesel - nr pesel, char(11)
birth_date - data urodzenia, DATE
nationality - narodowość, VARCHAR(64)
home_address - odniesienie do tabeli adress (pole ID), integer not null
mailing_address - odniesienie do tabeli adress (pole ID), integer
register_date - data rejestracji, timestamp
last_login_date - data ostatniego logowania, timestamp
users_groups
users_roles
Analiza zależności funkcyjnych i normalizacja tabel
Denormalizacja struktury tabel
Projektowanie operacji na danych