Skip to content

Commit

Permalink
更新数据库
Browse files Browse the repository at this point in the history
  • Loading branch information
LiuYuYang01 committed Jan 26, 2025
1 parent 1ec32c1 commit 5319697
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion ThriveX.sql
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,32 @@ INSERT INTO `user` VALUES (1,'admin','E10ADC3949BA59ABBE56E057F20F883E','宇阳'
/*!40000 ALTER TABLE `user` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user_token`
--

DROP TABLE IF EXISTS `user_token`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `user_token` (
`id` int NOT NULL AUTO_INCREMENT,
`uid` int NOT NULL COMMENT '用户 ID',
`token` text NOT NULL COMMENT '用户token',
PRIMARY KEY (`id`),
UNIQUE KEY `user_token_pk_2` (`id`),
UNIQUE KEY `user_token_pk_3` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='用户 token';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user_token`
--

LOCK TABLES `user_token` WRITE;
/*!40000 ALTER TABLE `user_token` DISABLE KEYS */;
/*!40000 ALTER TABLE `user_token` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wall`
--
Expand Down Expand Up @@ -671,4 +697,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2025-01-25 20:32:39
-- Dump completed on 2025-01-26 15:08:15

0 comments on commit 5319697

Please sign in to comment.