Changes between Version 6 and Version 7 of DDL
- Timestamp:
- 08/13/25 16:01:57 (7 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DDL
v6 v7 1 1 = Entity Sets 2 2 3 - Company(company_id, company_name, address,vat, company_email, created_at, updated_at)3 - Company(company_id, company_name, company_street, company_city, company_state, company_zip, company_vat, company_email, created_at, updated_at) 4 4 5 - User(user_id, user_name, user_email, password, role, company_id)5 - User(user_id, user_name, user_email, password, user_role, company_id, created_at, updated_at) 6 6 *Reference: company_id → Company(company_id) 7 7 8 - Employee(employee_id, employee_name, employee_email, status, iban, cv, photo, notes, project, company_id)8 - Employee(employee_id, employee_name, employee_email, employee_role, employee_status, employee_street, employee_city, employee_state, employee_zip, employee_iban, employee_bank_name, employee_swift, employee_cv_ref, employee_photo_ref, company_id, created_at, updated_at) 9 9 *Reference: company_id → Company(company_id) 10 10 11 - Candidate(candidate_id, candidate_name, candidate_email, status, cv, interview_stage, notes, company_id)11 - Candidate(candidate_id, candidate_name, candidate_email, candidate_status, candidate_cv_ref, candidate_stage, candidate_notes, company_id, created_at, updated_at) 12 12 *Reference: company_id → Company(company_id) 13 13 14 - Client(client_id, client_ representative, client_email, phone, address, vat, logo, company_id)14 - Client(client_id, client_name, client_representative, client_email, client_street, client_city, client_state, client_zip, client_vat, client_logo_url, company_id, created_at, updated_at) 15 15 *Reference: company_id → Company(company_id) 16 16 17 - Invoice(invoice_id, from, to, issue_date, due_date, notes, status, company_id, client_id)17 - Invoice(invoice_id, invoice_no, invoice_issue_date, invoice_due_date, invoice_notes, invoice_status, company_id, client_id, created_at, updated_at) 18 18 *References: 19 19 company_id → Company(company_id) 20 20 client_id → Client(client_id) 21 21 22 - LineItem( line_item_id, description, quantity, unit_price, currency, total, invoice_id)22 - LineItem(item_id, description, quantity, unit_price, currency, total, invoice_id) 23 23 Reference: invoice_id → Invoice(invoice_id) 24 24 25 - EmailTemplate(template_id, type, subject, body, company_id )25 - EmailTemplate(template_id, type, subject, body, company_id, created_at, updated_at) 26 26 *Reference: company_id → Company(company_id) 27 27 … … 55 55 - LineItem_Belongs_To_Invoice(line_item_id, invoice_id) 56 56 References: 57 line_item_id → LineItem(line_item_id)57 item_id → LineItem(item_id) 58 58 invoice_id → Invoice(invoice_id) 59 59