idz: Remove profile ext id

Turns out (while researching team creation) the profile ext id
is just the aime id. After creating a team a profile discovery
request is immediately issued with the "profile id" in the field
that holds the aime id during initial profile load.
This commit is contained in:
Tau
2019-05-26 20:05:01 -04:00
parent 7c96253160
commit c2b0bcabc4
70 changed files with 238 additions and 341 deletions

View File

@@ -12,7 +12,6 @@ create table "idz"."profile" (
references "aime"."player"("id")
on delete cascade,
-- TODO shop_id
"ext_id" integer not null,
"name" text not null,
"lv" smallint not null,
"exp" integer not null,
@@ -21,8 +20,7 @@ create table "idz"."profile" (
"mileage" integer not null,
"register_time" timestamp not null,
"access_time" timestamp not null,
constraint "profile_player_uq" unique ("player_id"),
constraint "profile_ext_id_uq" unique ("ext_id")
constraint "profile_player_uq" unique ("player_id")
);
create table "idz"."chara" (