From f80e37c4386c25d08139443c94e42d705d573630 Mon Sep 17 00:00:00 2001 From: jake Date: Sun, 29 Jan 2023 15:32:09 -0700 Subject: [PATCH] oh forgot to add these migrations --- .../gateway/postgres/migrations/V0007__player_keyconfig.sql | 3 +++ .../gateway/postgres/migrations/V0008__playtime_not_null.sql | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 src/entity/gateway/postgres/migrations/V0007__player_keyconfig.sql create mode 100644 src/entity/gateway/postgres/migrations/V0008__playtime_not_null.sql diff --git a/src/entity/gateway/postgres/migrations/V0007__player_keyconfig.sql b/src/entity/gateway/postgres/migrations/V0007__player_keyconfig.sql new file mode 100644 index 0000000..23067d5 --- /dev/null +++ b/src/entity/gateway/postgres/migrations/V0007__player_keyconfig.sql @@ -0,0 +1,3 @@ +alter table player_character + add keyboard_config bytea not null, + add gamepad_config bytea not null; diff --git a/src/entity/gateway/postgres/migrations/V0008__playtime_not_null.sql b/src/entity/gateway/postgres/migrations/V0008__playtime_not_null.sql new file mode 100644 index 0000000..60e689b --- /dev/null +++ b/src/entity/gateway/postgres/migrations/V0008__playtime_not_null.sql @@ -0,0 +1,5 @@ +alter table player_character + drop column playtime; + +alter table player_character + add playtime integer not null;