Skip to content

Commit

Permalink
clase 28
Browse files Browse the repository at this point in the history
  • Loading branch information
andreybejarano committed Aug 19, 2022
1 parent 2b7176a commit 1664d54
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 0 deletions.
1 change: 1 addition & 0 deletions clase28/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.bak
1 change: 1 addition & 0 deletions clase28/M06C01 - Resuelto - Escenario 2 — Bazar Digital
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<mxfile host="app.diagrams.net" modified="2021-02-08T21:35:29.773Z" agent="5.0 (Macintosh)" etag="nA2Fv2Dmn2Fk-t30SAO0" version="14.3.0" type="google"><diagram name="Page-1" id="e56a1550-8fbb-45ad-956c-1786394a9013">7V3dcps4GH0aX6YDyNjkMnaSdqfpTCbpdNurHRlkW1uMXCw3cZ9+JVvCgMDGMTKQVduZIiEkWTrfQfp+RA+MF68fY7icfyEBCnuOFbz2wG3Pcey+M2D/8ZzNLsezvF3GLMaBKLTPeMZ/kMi0RO4aB2iVKUgJCSleZjN9EkXIp5k8GMfkJVtsSsJsq0s4Q0rGsw9DNfdvHNC5yLUta3/jE8KzuWjac8WNCfR/zmKyjkR7PQdMt392txdQ1iXKr+YwIC+pLHDXA+OYELq7WryOUcjHVg7b7rn7krtJv2MU0SoPOKh/7Qwt5A/9gTcF0ytRw28YrsVYfGNVQdFbupEjtHrBixBGLDWa00XIMm12OSURfRaFLJb25zgMHuCGrHlvVpSNjkyN5iTGf1h5KB9mt2MqsMAAxGrDYTgmIYm3TQJk8b+ZJ595jaKtGK3Ys4/yp9tJ1gNcUdkfEoZwucKTbQ95kQWMZzgaEUrJQhSSP+0+27yYRzCCIZ5FLM9nDaGYN8PnGwXycTmluwYX2BfXIZygcJQARFYdke0ormhMfiZok4N5Dxc45EL0DcUBjKAc490o2X11vuUEopii11SWmP+PiCwQjTesiLjrXAssbqT0ivRLCvkDkTdPgd4eCCmHQtpmSd17xLELAbqKAHQUAP7mAPwrUCE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7nPYJb1AilGqqjoNh9XMYZ3QdhZ3vUJQoSGYNhPMRQOVizFkfM0084t2fzN92BgqUDgeU5lV+u3LPJAtVPjI/Yso3QhVHVxT0jsaiZmNJE6CJ6+sD5bj9jIRlEMAZMbta/qB2006lQ+izMV6piKqzw5ZlghIR1oeUgscjbY8O4hSNCQVm14OQHXFPrq52Mehm67uaHnZr7piH4sx7jWC8fKYeZba45YnNnnUWz01ZPgg3I/J09tgLc+iOwprucKqD9fnsdp1kzNunzTjyhkPBUcq6CEtr2B2S78WUDNjnXxaQS5oGlxnTh84Wr7vur0ziIYlY8JVAPvibPkx/0ICxEv8Bw==</diagram></mxfile>
49 changes: 49 additions & 0 deletions clase28/analisis.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
Paso 1: Identificar los campos
user_firstname
user_lastname
user_email
user_password
user_category
course_title
course_description
course_image
course_start_date
course_end_date
course_max_students
unit_title
unit_description
unit_start_date

Paso 2: Agrupar todos los campos segun entidad
_______________________
categories
- id
- name

users
- id
- firstname
- lastname
- email
- password
- categories_id (FK)

courses
- id
- title
- description
- image
- start_date
- end_date
- max_students

courses_has_users
- users_id (FK)
- courses_id (FK)

units
- id
- title
- description
- start_date
- courses_id (FK)
Binary file added clase28/courses_db.mwb
Binary file not shown.
Binary file added clase28/escenario 2 - Bazar Digital.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added clase28/escenario_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1664d54

Please sign in to comment.