Agrege Trabajadores!

This commit is contained in:
Daniel Cortés
2019-05-28 22:33:15 -04:00
parent 3b69bbcfe7
commit 50ae40449b
23 changed files with 1879 additions and 4 deletions

View File

@@ -304,9 +304,11 @@ create table libro_arriendo
create table usuario
(
id int unsigned primary key auto_increment,
nombre varchar(255) not null,
password varbinary(2000) not null
id int unsigned primary key auto_increment,
nombre varchar(255) not null,
password varbinary(2000) not null,
trabajador_id int unsigned not null,
foreign key (trabajador_id) references trabajador (id) on delete cascade on update cascade
);
#--------------------------------------------------------------------------------#