From be246eb10844516fe7f3f34530eea809dd7ffc8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wuyi=E6=97=A0=E7=96=91?= <444835641@qq.com> Date: Thu, 27 Apr 2023 01:27:41 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E8=A1=A5=E5=85=85=E7=BC=BA?= =?UTF-8?q?=E5=A4=B1=E7=9A=84=E5=AD=97=E6=AE=B5=20(#526)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gsuid_core/utils/database/dal.py | 1 + poetry.lock | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gsuid_core/utils/database/dal.py b/gsuid_core/utils/database/dal.py index 62c6e0a..350120e 100644 --- a/gsuid_core/utils/database/dal.py +++ b/gsuid_core/utils/database/dal.py @@ -41,6 +41,7 @@ class SQLA: exec_list = [ 'ALTER TABLE GsBind ADD COLUMN sr_uid TEXT', 'ALTER TABLE GsUser ADD COLUMN sr_uid TEXT', + 'ALTER TABLE GsUser ADD COLUMN sr_region TEXT', 'ALTER TABLE GsCache ADD COLUMN sr_uid TEXT', ] with contextlib.suppress(Exception): diff --git a/poetry.lock b/poetry.lock index 9a84480..65198a0 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1608,14 +1608,14 @@ reference = "mirrors" [[package]] name = "platformdirs" -version = "3.3.0" +version = "3.4.0" description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." category = "dev" optional = false python-versions = ">=3.7" files = [ - {file = "platformdirs-3.3.0-py3-none-any.whl", hash = "sha256:ea61fd7b85554beecbbd3e9b37fb26689b227ffae38f73353cbcc1cf8bd01878"}, - {file = "platformdirs-3.3.0.tar.gz", hash = "sha256:64370d47dc3fca65b4879f89bdead8197e93e05d696d6d1816243ebae8595da5"}, + {file = "platformdirs-3.4.0-py3-none-any.whl", hash = "sha256:01437886022decaf285d8972f9526397bfae2ac55480ed372ed6d9eca048870a"}, + {file = "platformdirs-3.4.0.tar.gz", hash = "sha256:a5e1536e5ea4b1c238a1364da17ff2993d5bd28e15600c2c8224008aff6bbcad"}, ] [package.extras]