Compare commits
merge into: jake:master
jake:andy/add-patch-log-dir
jake:andy/clamp-mag-feed
jake:andy/directories
jake:andy/map-objects
jake:andy/update-rust
jake:expsteal
jake:fuckin_andy_making_me_do_this_now
jake:kill_counters
jake:map_objects
jake:master
jake:morfin/test
jake:move_stuff_to_libpso
jake:pbs
jake:presents
jake:sendgc
jake:set_char_exp
jake:teams
jake:techs
jake:traps
jake:unitxt
pull from: jake:set_char_exp
jake:andy/add-patch-log-dir
jake:andy/clamp-mag-feed
jake:andy/directories
jake:andy/map-objects
jake:andy/update-rust
jake:expsteal
jake:fuckin_andy_making_me_do_this_now
jake:kill_counters
jake:map_objects
jake:master
jake:morfin/test
jake:move_stuff_to_libpso
jake:pbs
jake:presents
jake:sendgc
jake:set_char_exp
jake:teams
jake:techs
jake:traps
jake:unitxt
2 Commits
master
...
set_char_e
Author | SHA1 | Message | Date |
---|---|---|---|
andy | 17f89182c4 |
all hunters are cool, not just humars
|
2 years ago |
andy | 9fb2da6518 |
only save exp instead of entire character. fix db issues
|
2 years ago |
7 changed files with 46 additions and 20 deletions
-
4src/entity/gateway/entitygateway.rs
-
10src/entity/gateway/inmemory.rs
-
10src/entity/gateway/postgres/migrations/V0001__initial.sql
-
2src/entity/gateway/postgres/migrations/V0003__item_notes.sql
-
11src/entity/gateway/postgres/migrations/V0004__meseta.sql
-
26src/entity/gateway/postgres/postgres.rs
-
3src/ship/packet/handler/message.rs
@ -1,15 +1,16 @@ |
|||||
create table character_meseta ( |
create table character_meseta ( |
||||
pchar integer references character (id) not null unique, |
|
||||
meseta integer not null, |
|
||||
|
pchar integer references player_character (id) not null unique, |
||||
|
meseta integer not null |
||||
); |
); |
||||
|
|
||||
create table bank_meseta ( |
create table bank_meseta ( |
||||
pchar integer references character (id) not null, |
|
||||
|
pchar integer references player_character (id) not null, |
||||
bank varchar(128) not null, |
bank varchar(128) not null, |
||||
meseta integer not null, |
meseta integer not null, |
||||
unique (pchar, bank) |
unique (pchar, bank) |
||||
); |
); |
||||
|
|
||||
|
|
||||
alter table player_character |
|
||||
drop column meseta, bank_meseta; |
|
||||
|
alter table if exists player_character |
||||
|
drop column if exists meseta, |
||||
|
drop column if exists bank_meseta; |
Write
Preview
Loading…
Cancel
Save
Reference in new issue