From 7e6733fc83f6f0e9a05ea9eebb4cc02b583f0c86 Mon Sep 17 00:00:00 2001 From: Hsuan <34859514+hsuan1117@users.noreply.github.com> Date: Tue, 7 Jul 2020 00:05:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=BE=A9=E5=95=8F=E9=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 已經有新DB內容了,這裡卻還沒改 --- SkyOJ/Problem/Container.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SkyOJ/Problem/Container.php b/SkyOJ/Problem/Container.php index e32f88d..aa45cb6 100644 --- a/SkyOJ/Problem/Container.php +++ b/SkyOJ/Problem/Container.php @@ -39,6 +39,8 @@ static public function create(int $owner):int 'content_type' => ProblemDescriptionEnum::MarkDown, 'memory_limit' => 1048576, //1 Mb 'runtime_limit' => 1000, //1 Second + 'score_type' => 0, + 'score_data' => '', ]; return self::insertInto($default); }