diff --git a/db/app_uoj233.sql b/db/app_uoj233.sql index aa59101..3ae2d3a 100644 --- a/db/app_uoj233.sql +++ b/db/app_uoj233.sql @@ -366,7 +366,7 @@ UNLOCK TABLES; CREATE TABLE `countdowns` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `title` text NOT NULL, - `endtime` datetime NOT NULL, + `end_time` datetime NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4; /*!40101 SET character_set_client = @saved_cs_client */; @@ -448,6 +448,21 @@ CREATE TABLE `groups` ( ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4; /*!40101 SET character_set_client = @saved_cs_client */; +-- +-- Table structure for table `groups_assignments` +-- + +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8mb4 */; +CREATE TABLE `groups_assignments` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `list_id` int(11) NOT NULL, + `group_id` int(11) NOT NULL, + `end_time` datetime NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4; +/*!40101 SET character_set_client = @saved_cs_client */; + -- -- Table structure for table `groups_users` -- @@ -461,22 +476,6 @@ CREATE TABLE `groups_users` ( ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4; /*!40101 SET character_set_client = @saved_cs_client */; --- --- Table structure for table `assignments` --- - -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; -CREATE TABLE `assignments` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `list_id` int(11) NOT NULL, - `group_id` int(11) NOT NULL, - `create_time` datetime NOT NULL, - `deadline` datetime NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4; -/*!40101 SET character_set_client = @saved_cs_client */; - -- -- Table structure for table `hacks` -- diff --git a/web/app/controllers/group.php b/web/app/controllers/group.php index b8e5a8a..2988ffb 100644 --- a/web/app/controllers/group.php +++ b/web/app/controllers/group.php @@ -1,4 +1,5 @@ -
(小组 ID: = $group['id'] ?>)
- - - - - - - -暂无作业
'; - } + echo '