Changes between Version 23 and Version 24 of ddl
- Timestamp:
- 09/24/25 21:58:16 (13 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ddl
v23 v24 12 12 * genre_id* (FK → Genre) 13 13 * composer 14 * milliseconds 15 * bytes 14 * milliseconds 15 * bytes 16 16 17 17 = Album = 18 18 * __**album_id**__ (PK) 19 19 * **title** 20 * **artist_id*** (FK → Artist) → Artist)20 * **artist_id*** (FK → Artist) 21 21 22 22 = Artist = … … 26 26 = Genre = 27 27 * __**genre_id**__ (PK) 28 * genre_name 28 * genre_name 29 29 30 30 = !MediaType = 31 31 * __**media_type_id**__ (PK) 32 * media_type_name 32 * media_type_name 33 33 34 34 = Price = 35 35 * __**price_id**__ (PK) 36 * value37 * date38 * track_id* (FK → Track)36 * **value** 37 * **date** 38 * **track_id*** (FK → Track) 39 39 40 40 = !InvoiceLine = 41 41 * __**invoice_line_id**__ (PK) 42 * invoice_id* (FK → Invoice)43 * track_id* (FK → Track)44 * unit_price45 * quantity42 * **invoice_id*** (FK → Invoice) 43 * **track_id*** (FK → Track) 44 * **unit_price** 45 * **quantity** 46 46 47 47 = Invoice = 48 48 * __**invoice_id**__ (PK) 49 * customer_id* (FK → Customer)50 * invoice_date49 * **customer_id*** (FK → Customer) 50 * **invoice_date** 51 51 * billing_address 52 52 * billing_city … … 54 54 * billing_country 55 55 * billing_postal_code 56 * total 56 * total 57 57 58 58 = Customer = 59 59 * __**customer_id**__ (PK) 60 * customer_first_name61 * customer_last_name60 * **customer_first_name** 61 * **customer_last_name** 62 62 * company 63 63 * support_rep_id* (FK → Employee) … … 67 67 = Employee = 68 68 * __**employee_id**__ (PK) 69 * employee_first_name70 * employee_last_name69 * **employee_first_name** 70 * **employee_last_name** 71 71 * title 72 72 * reports_to* (FK → Employee) 73 * birth_date** 74 * hire_date** 73 * birth_date** 74 * hire_date** 75 75 * contact_id* (FK → Contact) 76 76 * address_info_id* (FK → !AddressInfo) 77 77 78 78 = !AddressInfo = 79 * _**address_info_id**__ (PK) 79 * _**address_info_id**__ (PK) 80 80 * address 81 81 * city … … 84 84 * postal_code 85 85 86 = Contact = 86 = Contact = 87 87 * __**contact_id**__ (PK) 88 88 * phone … … 95 95 96 96 = !PlaylistTrack = 97 * __**playlist_track_id**__ (PK) 98 * playlist_id* (FK → Playlist) 99 * track_id* (FK → Track) 97 * **playlist_id*** (FK → Playlist) (PK) 98 * **track_id*** (FK → Track) (PK) 100 99 101 100 == DDL и DML скрипти: ==