Created
December 10, 2019 03:30
-
-
Save Xhendor/780d96af15cfb440f60685a5d00c615d to your computer and use it in GitHub Desktop.
Base de datos de proyecto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create table user_model | |
( | |
id int not null | |
primary key, | |
born_date datetime(6) null, | |
lastname varchar(255) null, | |
name varchar(255) null, | |
nickname varchar(255) null | |
); | |
create table position_model | |
( | |
id int not null | |
primary key, | |
altitude double not null, | |
latitude double not null, | |
longitude double not null, | |
user_id int null, | |
constraint FK63hfol852s4a0arwg7kw9dtk6 | |
foreign key (user_id) references user_model (id) | |
); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment