Skip to content

Commit

Permalink
tabla plazos
Browse files Browse the repository at this point in the history
  • Loading branch information
UO287568 authored and UO287568 committed Nov 21, 2023
1 parent 77f2310 commit ed4a42d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/resources/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,8 @@ create table Tiempo(id_c int, dorsal int, tiempo varchar(6),

drop table if exists Categoria;
create table Categoria(id_c int not null, nombre_cat varchar(30) not null, edadMin int not null, edadMax int not null, genero varchar(15),
constraint fk_categoria_competicion foreign key (id_c) references "Competicion" (id_c));
constraint fk_Categoria_competicion foreign key (id_c) references "Competicion" (id_c));

drop table if exists Plazo;
create table Plazo(id_c int not null, descr varchar(30) not null, fechaIni varchar(20) not null, fechaFin varchar(20) not null, cuota decimal(4,2) not null,
constraint fk_Plazo_Competicion foreign key (id_c) references "Competicion" (id_c));

0 comments on commit ed4a42d

Please sign in to comment.