Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
ProyectoFinal-Bootcamp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jose Baez
ProyectoFinal-Bootcamp
Commits
3a67e4f0
Commit
3a67e4f0
authored
May 11, 2022
by
Jose Baez
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into 'master'
Develop See merge request
!2
parents
52adb4eb
2fae0239
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
64 additions
and
0 deletions
+64
-0
README.txt
+64
-0
No files found.
README.txt
0 → 100644
View file @
3a67e4f0
CREATE TABLE "Postulante" (
"id" int PRIMARY KEY,
"nombre" varchar,
"apellido" varchar,
"nro_cedula" int,
"correo" varchar,
"telefono" varchar,
"direccion" varchar,
"experiencia_laboral" boolean DEFAULT false,
"estudio_universitario" boolean DEFAULT false,
"notebook" boolean DEFAULT false,
"bootcamp_id" int,
"aceptado" boolean DEFAULT false
);
CREATE TABLE "Postulante_Lenguaje" (
"id" int PRIMARY KEY,
"id_postulante" int,
"id_lenguaje" int
);
CREATE TABLE "Lenguaje" (
"id" int PRIMARY KEY,
"nombre_lenguaje" varchar
);
CREATE TABLE "Bootcamp" (
"id" int PRIMARY KEY,
"id_lenguaje" int,
"id_profesor" int,
"fecha_inicio" date,
"fecha_fin" date,
"descripcion" varchar,
"imagen" varchar,
"titulo" varchar,
"activo" boolean DEFAULT true
);
CREATE TABLE "Profesor" (
"id" int PRIMARY KEY,
"nombre" varchar,
"apellido" varchar,
"nro_cedula" int,
"correo" varchar
);
CREATE TABLE "Usuario" (
"id" int PRIMARY KEY,
"nombre" varchar,
"apellido" varchar,
"correo" varchar,
"password" varchar
);
ALTER TABLE "Bootcamp" ADD FOREIGN KEY ("id_lenguaje") REFERENCES "Lenguaje" ("id");
ALTER TABLE "Postulante_Lenguaje" ADD FOREIGN KEY ("id_postulante") REFERENCES "Postulante" ("id");
ALTER TABLE "Postulante_Lenguaje" ADD FOREIGN KEY ("id_lenguaje") REFERENCES "Lenguaje" ("id");
ALTER TABLE "Bootcamp" ADD FOREIGN KEY ("id_profesor") REFERENCES "Profesor" ("id");
ALTER TABLE "Postulante" ADD FOREIGN KEY ("bootcamp_id") REFERENCES "Bootcamp" ("id");
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment