Skip to content

1.3 Tablas

Jonathan edited this page Nov 12, 2018 · 3 revisions

1.3.1 projects-impact-tags-a

Tabla de relacion entre projectos y tags de areas de impacto (impact-tags)

Columnas

  • projectID
  • tagID

Relacion

projects

projects.id <-> projects-impact-tags-a.projectID

impact-tags

impact-tags.id <-> projects-impact-tags-a.tagID

1.3.2 projects-impact-tags-b

Tabla de relacion entre projectos y tags de enfoque (dsi-focus-tags)

Columnas

projectID, tagID

Relacion

projects

projects.id <-> projects-impact-tags-b.projectID

dsi-focus-tags

dsi-focus-tags.id <-> projects-impact-tags-b.tagID

1.3.3 projects-impact-tags-c

Tabla de relacion entre projectos y tags de tecnologias (impact-tags)

Columnas

projectID,tagID

Relacion

projects

projects.id <-> projects-impact-tags-c.projectID

impact-tags

impact-tags.id <-> projects-impact-tags-c.tagID

1.3.4 projects

Tabla de entidad proyectos

Columnas

id, ownerID, name, shortDescription, description, url, status, startDate, endDate, countryID, countryRegionID, organisationsCount, importID, created, lastUpdate, logo, headerImage, socialImpact, isWaitingApproval, isPublished

Relacion

users

users.id <-> projects.ownerID

countries

countries.id <-> projects.countryID

country-regions

country-regions.id <-> countryRegionID

Observaciones

El importID es el id de la base de datos de origen

1.3.5 countries

Tabla de paises

Columnas

id, name

Relacion

projects

projects.countryID <-> countries.id

organisations

organisations.countryID <-> countries.id

1.3.6 country-regions

Tabla de regiones del pais

Columnas

id, countryID, name, lat, lng

Relacion

countries

countries.id <-> country-regions.countryID

projects

projects.countryRegionID <-> country-regions.id

organisations

organisations.countryRegionID <-> country-regions.id

1.3.7 tags-for-organisations

Etiquetas que describen la organización

Columnas

id, tag

Relacion

organisation-tags

organisation-tags.tagID <-> tags-for-organisations.id

1.3.8 organisation-tags

Relacion entre organizaciones y tags de organizaciones

Columnas

organisationID, tagID, organisationTagId

Relacion

organisation

organisation.id <-> organisation-tags.organisationID

organisation-tags

tags-for-organisations.id <-> organisation-tags.tagID

1.3.9 tags-for-projects

Etiquetas que describen los proyectos

Columnas

id, tag

Relacion

project-tags

project-tags.tagID <-> tags-for-projects.id

1.3.10 project-tags

Relacion entre proyectos y tags de proyectos

Columnas

projectID, tagID, projectTagId

Relacion

project

project.id <-> project-tags.projectID

project-tags

tags-for-project.id <-> project-tags.tagID

1.3.11 dsi-focus-tags

Enfoque

Columnas

id, tag, description

Relacion

project-impact-tags-b

project-impact-tags-b.tagID <-> dsi-focus-tags.id

1.3.12 network-tags

Etiquetas para redes

Columnas

id, tag

Relacion

project-network-tags

project-network-tags.tagID <-> network-tags.id

organisation-network-tags

organisation-network-tags.tagID <-> network-tags.id

1.3.13 organisation-network-tag

Relacion entre organizaciones y network tags

Columnas

organisationID, tagID

Relacion

organisations

organisations.id <-> organisation-network-tag.organisationID

network-tags

network-tags.id <-> organisation-network-tag.tagID

1.3.14 project-network-tag

Relacion entre organizaciones y network tags

Columnas

projectID, tagID

Relacion

projects

projects.id <-> project-network-tag.projectID

network-tags

network-tags.id <-> project-network-tag.tagID

1.3.15 impact-tags

Tags

Columnas

id, tag, isMain, order

Relacion

projects-impact-tags-a

projects-impact-tags-a.tagID <-> impact-tags.id

projects-impact-tags-c

projects-impact-tags-c.tagID <-> impact-tags.id