Skip to content

Instantly share code, notes, and snippets.

@Xhendor
Created December 10, 2019 03:30
Show Gist options
  • Save Xhendor/780d96af15cfb440f60685a5d00c615d to your computer and use it in GitHub Desktop.
Save Xhendor/780d96af15cfb440f60685a5d00c615d to your computer and use it in GitHub Desktop.
Base de datos de proyecto
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