mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-04 04:11:27 +00:00
17 lines
342 B
SQL
17 lines
342 B
SQL
create table ProfileCardLocations
|
|
(
|
|
UserId int not null,
|
|
LocationX int not null,
|
|
LocationY int not null
|
|
);
|
|
|
|
create unique index ProfileCardLocations_UserId_uindex
|
|
on Locations (Id);
|
|
|
|
alter table Locations
|
|
add constraint ProfileCardLocations_pk
|
|
primary key (Id);
|
|
|
|
alter table Users
|
|
add LocationId int null;
|
|
|