1 Star 0 Fork 0

Levi0321/midProject

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
work_2110.sql 24.92 KB
一键复制 编辑 原始数据 按行查看 历史
Levi 提交于 2023-04-01 17:21 . all
-- MySQL dump 10.13 Distrib 8.0.32, for Linux (x86_64)
--
-- Host: localhost Database: work_2110
-- ------------------------------------------------------
-- Server version 8.0.32-0ubuntu0.22.04.2
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `auth_group`
--
DROP TABLE IF EXISTS `auth_group`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `auth_group` (
`id` int NOT NULL AUTO_INCREMENT,
`name` varchar(150) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `auth_group`
--
LOCK TABLES `auth_group` WRITE;
/*!40000 ALTER TABLE `auth_group` DISABLE KEYS */;
INSERT INTO `auth_group` VALUES (1,'teacher');
/*!40000 ALTER TABLE `auth_group` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `auth_group_permissions`
--
DROP TABLE IF EXISTS `auth_group_permissions`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `auth_group_permissions` (
`id` int NOT NULL AUTO_INCREMENT,
`group_id` int NOT NULL,
`permission_id` int NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `auth_group_permissions_group_id_permission_id_0cd325b0_uniq` (`group_id`,`permission_id`),
KEY `auth_group_permissio_permission_id_84c5c92e_fk_auth_perm` (`permission_id`),
CONSTRAINT `auth_group_permissio_permission_id_84c5c92e_fk_auth_perm` FOREIGN KEY (`permission_id`) REFERENCES `auth_permission` (`id`),
CONSTRAINT `auth_group_permissions_group_id_b120cbf9_fk_auth_group_id` FOREIGN KEY (`group_id`) REFERENCES `auth_group` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `auth_group_permissions`
--
LOCK TABLES `auth_group_permissions` WRITE;
/*!40000 ALTER TABLE `auth_group_permissions` DISABLE KEYS */;
INSERT INTO `auth_group_permissions` VALUES (9,1,1),(12,1,4),(19,1,22),(20,1,24),(2,1,25),(3,1,26),(4,1,27),(5,1,28),(6,1,29),(7,1,30),(8,1,31),(1,1,32),(10,1,33),(11,1,34),(17,1,35),(18,1,36),(13,1,37),(14,1,38),(15,1,39),(16,1,40);
/*!40000 ALTER TABLE `auth_group_permissions` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `auth_permission`
--
DROP TABLE IF EXISTS `auth_permission`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `auth_permission` (
`id` int NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`content_type_id` int NOT NULL,
`codename` varchar(100) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `auth_permission_content_type_id_codename_01ab375a_uniq` (`content_type_id`,`codename`),
CONSTRAINT `auth_permission_content_type_id_2f476e4b_fk_django_co` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=41 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `auth_permission`
--
LOCK TABLES `auth_permission` WRITE;
/*!40000 ALTER TABLE `auth_permission` DISABLE KEYS */;
INSERT INTO `auth_permission` VALUES (1,'Can add log entry',1,'add_logentry'),(2,'Can change log entry',1,'change_logentry'),(3,'Can delete log entry',1,'delete_logentry'),(4,'Can view log entry',1,'view_logentry'),(5,'Can add permission',2,'add_permission'),(6,'Can change permission',2,'change_permission'),(7,'Can delete permission',2,'delete_permission'),(8,'Can view permission',2,'view_permission'),(9,'Can add group',3,'add_group'),(10,'Can change group',3,'change_group'),(11,'Can delete group',3,'delete_group'),(12,'Can view group',3,'view_group'),(13,'Can add content type',4,'add_contenttype'),(14,'Can change content type',4,'change_contenttype'),(15,'Can delete content type',4,'delete_contenttype'),(16,'Can view content type',4,'view_contenttype'),(17,'Can add session',5,'add_session'),(18,'Can change session',5,'change_session'),(19,'Can delete session',5,'delete_session'),(20,'Can view session',5,'view_session'),(21,'Can add 用户',6,'add_userprofile'),(22,'Can change 用户',6,'change_userprofile'),(23,'Can delete 用户',6,'delete_userprofile'),(24,'Can view 用户',6,'view_userprofile'),(25,'Can add 文章',7,'add_topic'),(26,'Can change 文章',7,'change_topic'),(27,'Can delete 文章',7,'delete_topic'),(28,'Can view 文章',7,'view_topic'),(29,'Can add 留言',8,'add_message'),(30,'Can change 留言',8,'change_message'),(31,'Can delete 留言',8,'delete_message'),(32,'Can view 留言',8,'view_message'),(33,'Can add xibao profile',9,'add_xibaoprofile'),(34,'Can change xibao profile',9,'change_xibaoprofile'),(35,'Can delete xibao profile',9,'delete_xibaoprofile'),(36,'Can view xibao profile',9,'view_xibaoprofile'),(37,'Can add recentwork',10,'add_recentwork'),(38,'Can change recentwork',10,'change_recentwork'),(39,'Can delete recentwork',10,'delete_recentwork'),(40,'Can view recentwork',10,'view_recentwork');
/*!40000 ALTER TABLE `auth_permission` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `django_admin_log`
--
DROP TABLE IF EXISTS `django_admin_log`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `django_admin_log` (
`id` int NOT NULL AUTO_INCREMENT,
`action_time` datetime(6) NOT NULL,
`object_id` longtext,
`object_repr` varchar(200) NOT NULL,
`action_flag` smallint unsigned NOT NULL,
`change_message` longtext NOT NULL,
`content_type_id` int DEFAULT NULL,
`user_id` bigint NOT NULL,
PRIMARY KEY (`id`),
KEY `django_admin_log_content_type_id_c4bce8eb_fk_django_co` (`content_type_id`),
KEY `django_admin_log_user_id_c564eba6_fk_user_profile_id` (`user_id`),
CONSTRAINT `django_admin_log_content_type_id_c4bce8eb_fk_django_co` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`),
CONSTRAINT `django_admin_log_user_id_c564eba6_fk_user_profile_id` FOREIGN KEY (`user_id`) REFERENCES `user_profile` (`id`),
CONSTRAINT `django_admin_log_chk_1` CHECK ((`action_flag` >= 0))
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `django_admin_log`
--
LOCK TABLES `django_admin_log` WRITE;
/*!40000 ALTER TABLE `django_admin_log` DISABLE KEYS */;
INSERT INTO `django_admin_log` VALUES (1,'2023-03-25 16:37:04.247070','1','teacher',1,'[{\"added\": {}}]',3,2),(2,'2023-03-25 16:37:31.990815','1','teacher',2,'[{\"changed\": {\"fields\": [\"Permissions\"]}}]',3,2),(3,'2023-03-25 16:38:59.751228','1','tarena',2,'[{\"changed\": {\"fields\": [\"\\u5934\\u50cf\", \"\\u4e2a\\u4eba\\u4ecb\\u7ecd\", \"Staff status\", \"Groups\"]}}]',6,2),(4,'2023-04-01 14:09:35.826487','5','绑定网站留言',1,'[{\"added\": {}}]',7,2),(5,'2023-04-01 15:35:11.010272','1','teacher',2,'[{\"changed\": {\"fields\": [\"Permissions\"]}}]',3,2),(6,'2023-04-01 15:37:19.952691','1','Recentwork object (1)',1,'[{\"added\": {}}]',10,1),(7,'2023-04-01 15:37:44.555894','2','Recentwork object (2)',1,'[{\"added\": {}}]',10,1),(8,'2023-04-01 15:38:12.431986','3','Recentwork object (3)',1,'[{\"added\": {}}]',10,1),(9,'2023-04-01 15:44:14.833005','2','Recentwork object (2)',2,'[{\"changed\": {\"fields\": [\"\\u4f18\\u5148\\u7a0b\\u5ea6\"]}}]',10,1),(10,'2023-04-01 15:47:07.966822','4','Recentwork object (4)',1,'[{\"added\": {}}]',10,1),(11,'2023-04-01 16:32:55.391814','1','XibaoProfile object (1)',1,'[{\"added\": {}}]',9,1),(12,'2023-04-01 16:34:35.178113','2','XibaoProfile object (2)',1,'[{\"added\": {}}]',9,1);
/*!40000 ALTER TABLE `django_admin_log` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `django_content_type`
--
DROP TABLE IF EXISTS `django_content_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `django_content_type` (
`id` int NOT NULL AUTO_INCREMENT,
`app_label` varchar(100) NOT NULL,
`model` varchar(100) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `django_content_type_app_label_model_76bd3d3b_uniq` (`app_label`,`model`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `django_content_type`
--
LOCK TABLES `django_content_type` WRITE;
/*!40000 ALTER TABLE `django_content_type` DISABLE KEYS */;
INSERT INTO `django_content_type` VALUES (1,'admin','logentry'),(3,'auth','group'),(2,'auth','permission'),(4,'contenttypes','contenttype'),(8,'message','message'),(10,'recentwork','recentwork'),(5,'sessions','session'),(7,'topics','topic'),(6,'user','userprofile'),(9,'xibao','xibaoprofile');
/*!40000 ALTER TABLE `django_content_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `django_migrations`
--
DROP TABLE IF EXISTS `django_migrations`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `django_migrations` (
`id` int NOT NULL AUTO_INCREMENT,
`app` varchar(255) NOT NULL,
`name` varchar(255) NOT NULL,
`applied` datetime(6) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `django_migrations`
--
LOCK TABLES `django_migrations` WRITE;
/*!40000 ALTER TABLE `django_migrations` DISABLE KEYS */;
INSERT INTO `django_migrations` VALUES (1,'contenttypes','0001_initial','2023-03-25 15:25:47.859302'),(2,'contenttypes','0002_remove_content_type_name','2023-03-25 15:25:47.972404'),(3,'auth','0001_initial','2023-03-25 15:25:48.287191'),(4,'auth','0002_alter_permission_name_max_length','2023-03-25 15:25:48.370160'),(5,'auth','0003_alter_user_email_max_length','2023-03-25 15:25:48.379823'),(6,'auth','0004_alter_user_username_opts','2023-03-25 15:25:48.389213'),(7,'auth','0005_alter_user_last_login_null','2023-03-25 15:25:48.404318'),(8,'auth','0006_require_contenttypes_0002','2023-03-25 15:25:48.410128'),(9,'auth','0007_alter_validators_add_error_messages','2023-03-25 15:25:48.419956'),(10,'auth','0008_alter_user_username_max_length','2023-03-25 15:25:48.431899'),(11,'auth','0009_alter_user_last_name_max_length','2023-03-25 15:25:48.442305'),(12,'auth','0010_alter_group_name_max_length','2023-03-25 15:25:48.468565'),(13,'auth','0011_update_proxy_permissions','2023-03-25 15:25:48.479751'),(14,'auth','0012_alter_user_first_name_max_length','2023-03-25 15:25:48.491194'),(15,'user','0001_initial','2023-03-25 15:25:48.872603'),(16,'admin','0001_initial','2023-03-25 15:25:49.044174'),(17,'admin','0002_logentry_remove_auto_add','2023-03-25 15:25:49.055067'),(18,'admin','0003_logentry_add_action_flag_choices','2023-03-25 15:25:49.071488'),(19,'topics','0001_initial','2023-03-25 15:25:49.172622'),(20,'message','0001_initial','2023-03-25 15:25:49.301354'),(21,'recentwork','0001_initial','2023-03-25 15:25:49.398778'),(22,'sessions','0001_initial','2023-03-25 15:25:49.445903'),(23,'xibao','0001_initial','2023-03-25 15:25:49.502326');
/*!40000 ALTER TABLE `django_migrations` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `django_session`
--
DROP TABLE IF EXISTS `django_session`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `django_session` (
`session_key` varchar(40) NOT NULL,
`session_data` longtext NOT NULL,
`expire_date` datetime(6) NOT NULL,
PRIMARY KEY (`session_key`),
KEY `django_session_expire_date_a5c62663` (`expire_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `django_session`
--
LOCK TABLES `django_session` WRITE;
/*!40000 ALTER TABLE `django_session` DISABLE KEYS */;
INSERT INTO `django_session` VALUES ('992f8pzp1pi1l83u7dedk494hgcyytz2','.eJxVjMEOgjAQRP-lZ9O0haLr0Tvf0Oxudy1qIKFwMv67kHDQzG3em3mbhOtS0lplTkM2V-PN6bcj5KeMO8gPHO-T5Wlc5oHsrtiDVttPWV63w_07KFjLtm6FGwDW7B2FcFHtog8SCeTcsOsctgBEChoVyYNggGYLK2YOjlvz-QL2sTic:1piVlh:AJaa34re6VufVdSWTGhGQ6hMuM_jFVJzZi3EGG8fpoY','2023-04-15 15:35:21.340913'),('whk138ovlsucthqk6a8wvu9hf0be69z1','.eJxVjMEOgjAQRP-lZ9O0haLr0Tvf0Oxudy1qIKFwMv67kHDQzG3em3mbhOtS0lplTkM2V-PN6bcj5KeMO8gPHO-T5Wlc5oHsrtiDVttPWV63w_07KFjLtm6FGwDW7B2FcFHtog8SCeTcsOsctgBEChoVyYNggGYLK2YOjlvz-QL2sTic:1pfzQk:LwirHTtfX7t_Z5zeQqmN_SHMSU6NRRTVKD6MOEj96G0','2023-04-08 16:39:18.664808');
/*!40000 ALTER TABLE `django_session` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `message`
--
DROP TABLE IF EXISTS `message`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `message` (
`id` bigint NOT NULL AUTO_INCREMENT,
`content` varchar(50) NOT NULL,
`created_time` datetime(6) NOT NULL,
`parent_message` int NOT NULL,
`publisher_id` bigint NOT NULL,
`topic_id` int NOT NULL,
PRIMARY KEY (`id`),
KEY `message_publisher_id_bd1d4886_fk_user_profile_id` (`publisher_id`),
KEY `message_topic_id_bb04ad2d_fk_topic_id` (`topic_id`),
CONSTRAINT `message_publisher_id_bd1d4886_fk_user_profile_id` FOREIGN KEY (`publisher_id`) REFERENCES `user_profile` (`id`),
CONSTRAINT `message_topic_id_bb04ad2d_fk_topic_id` FOREIGN KEY (`topic_id`) REFERENCES `topic` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `message`
--
LOCK TABLES `message` WRITE;
/*!40000 ALTER TABLE `message` DISABLE KEYS */;
INSERT INTO `message` VALUES (1,'<p>我的第一条浏览<br></p>','2023-04-01 14:34:17.397854',0,1,2),(2,'<p>这是浏览版的评论<br></p>','2023-04-01 14:39:06.092250',0,1,1),(3,'<p>人工智能是热点学科啊<br></p>','2023-04-01 14:39:38.066332',0,1,1),(5,'是啊也不知道难不难','2023-04-01 14:41:24.324577',3,1,1),(6,'应该还可以吧,好好干','2023-04-01 14:41:52.349991',3,1,1),(7,'<p>哈哈哈哈哈<br></p>','2023-04-01 14:43:06.643678',0,1,2),(8,'啦啦啦啊','2023-04-01 14:43:17.402000',7,1,2);
/*!40000 ALTER TABLE `message` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `recent_work`
--
DROP TABLE IF EXISTS `recent_work`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `recent_work` (
`id` bigint NOT NULL AUTO_INCREMENT,
`content` longtext NOT NULL,
`create_time` date NOT NULL,
`limit_time` datetime(6) NOT NULL,
`level` int NOT NULL,
`remark` longtext NOT NULL,
`member_id` bigint NOT NULL,
PRIMARY KEY (`id`),
KEY `recent_work_member_id_bee32852_fk_user_profile_id` (`member_id`),
CONSTRAINT `recent_work_member_id_bee32852_fk_user_profile_id` FOREIGN KEY (`member_id`) REFERENCES `user_profile` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `recent_work`
--
LOCK TABLES `recent_work` WRITE;
/*!40000 ALTER TABLE `recent_work` DISABLE KEYS */;
INSERT INTO `recent_work` VALUES (1,'AID2211-2212中期项目答辩','2023-04-01','2023-04-01 15:37:19.950336',1,'随便写点什么',1),(2,'AID2302第二阶段月考','2023-04-01','2023-04-01 15:44:14.831375',2,'哈哈哈',2),(3,'AIDVN 学员总监咨询日','2023-04-01','2023-04-01 15:38:12.430834',1,'无',1),(4,'随便添加一个事项','2023-04-01','2023-04-01 15:47:07.964168',1,'按时发放',1);
/*!40000 ALTER TABLE `recent_work` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `topic`
--
DROP TABLE IF EXISTS `topic`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `topic` (
`id` int NOT NULL AUTO_INCREMENT,
`title` varchar(50) NOT NULL,
`category` varchar(20) NOT NULL,
`limit` varchar(20) NOT NULL,
`introduce` varchar(90) NOT NULL,
`content` longtext NOT NULL,
`created_time` datetime(6) NOT NULL,
`updated_time` datetime(6) NOT NULL,
`like_count` int NOT NULL,
`click_count` int NOT NULL,
`recommend` smallint NOT NULL,
`author_id` bigint DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `topic_author_id_1d892d90_fk_user_profile_id` (`author_id`),
CONSTRAINT `topic_author_id_1d892d90_fk_user_profile_id` FOREIGN KEY (`author_id`) REFERENCES `user_profile` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `topic`
--
LOCK TABLES `topic` WRITE;
/*!40000 ALTER TABLE `topic` DISABLE KEYS */;
INSERT INTO `topic` VALUES (1,'绑定网站留言','message','private','进来看看吧','绑定网站留言','2023-04-01 14:09:35.823276','2023-04-01 14:09:35.823304',0,0,0,2),(2,'NBA十大空位,我也行','knowledge','public','这十名控卫除去黄蜂队的肯巴-沃克未能进入季后赛,其余球员均带','<p>这十名控卫除去黄蜂队的肯巴-沃克未能进入季后赛,其余球员均带队进入季后赛。其中库里与欧文更是打到了总决赛的舞台,但是欧文的排名仅位列第六,这或许会让不少球迷感到意外?欧文在2K游戏上的能力值是90,库里94。除了欧文之外,球迷们还对哪些球员的排名不满意呢?</p>','2023-03-25 16:53:12.732440','2023-03-25 16:53:12.732472',0,0,0,1),(3,'今日学习心得','teach','public','哈啊哈哈哈啊哈哈哈啊哈哈哈啊哈哈哈啊哈哈哈啊哈哈哈啊哈哈哈啊','<p><span style=\"font-weight: bold;\">哈啊哈哈</span></p><p>哈啊哈哈<br></p><p><span style=\"text-decoration-line: underline;\">哈啊哈哈</span><br></p><p>哈啊哈哈<br></p><p>哈啊哈哈<br></p><p>哈啊哈哈<br></p><p>哈啊哈哈哈啊哈哈<br></p>','2023-03-29 20:24:22.968765','2023-03-29 20:24:22.968806',0,0,0,2),(4,'今天学习感悟','learn','public','今天学习了 前后端分离技术,掌握了cors。知道了token','<p>今天学习了 前后端分离技术,掌握了cors。</p><p><br></p><p>知道了token之类的知识,好开心哦</p>','2023-03-25 16:46:09.277538','2023-03-25 16:46:09.278079',0,0,0,1);
/*!40000 ALTER TABLE `topic` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `user_profile`
--
DROP TABLE IF EXISTS `user_profile`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `user_profile` (
`id` bigint NOT NULL AUTO_INCREMENT,
`password` varchar(128) NOT NULL,
`last_login` datetime(6) DEFAULT NULL,
`is_superuser` tinyint(1) NOT NULL,
`username` varchar(150) NOT NULL,
`first_name` varchar(150) NOT NULL,
`last_name` varchar(150) NOT NULL,
`email` varchar(254) NOT NULL,
`is_staff` tinyint(1) NOT NULL,
`is_active` tinyint(1) NOT NULL,
`date_joined` datetime(6) NOT NULL,
`nickname` varchar(30) DEFAULT NULL,
`phone` varchar(11) NOT NULL,
`avatar` varchar(100) DEFAULT NULL,
`sign` varchar(50) NOT NULL,
`info` varchar(1024) DEFAULT NULL,
`updated_time` datetime(6) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `username` (`username`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `user_profile`
--
LOCK TABLES `user_profile` WRITE;
/*!40000 ALTER TABLE `user_profile` DISABLE KEYS */;
INSERT INTO `user_profile` VALUES (1,'pbkdf2_sha256$260000$EVLCZnbG5oeaobJHieeEh7$W/FOBk61mWbeBYUtpnftf0LjDrjK3lGu1/CpE5W521A=','2023-04-01 15:35:21.325504',0,'tarena','','','sisuo321@123.com',1,1,'2023-03-25 15:25:00.000000','tarena','18000099988','avatar/girl.jpg','撸起袖子加油干','我是迪丽热巴','2023-04-01 15:10:25.235987'),(2,'pbkdf2_sha256$260000$uMW0JMQLAezuIuup0daUTu$IiaCy2dDtY/AdXvd0tQxdDzjiAsYdn1EYKig1WYpCBw=','2023-04-01 15:34:30.489500',1,'admin','','','',1,1,'2023-03-25 16:24:33.530133',NULL,'','','撸起袖子加油干','','2023-03-25 16:24:33.722061');
/*!40000 ALTER TABLE `user_profile` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `user_profile_groups`
--
DROP TABLE IF EXISTS `user_profile_groups`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `user_profile_groups` (
`id` int NOT NULL AUTO_INCREMENT,
`userprofile_id` bigint NOT NULL,
`group_id` int NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `user_profile_groups_userprofile_id_group_id_634d6ad7_uniq` (`userprofile_id`,`group_id`),
KEY `user_profile_groups_group_id_864f8fbf_fk_auth_group_id` (`group_id`),
CONSTRAINT `user_profile_groups_group_id_864f8fbf_fk_auth_group_id` FOREIGN KEY (`group_id`) REFERENCES `auth_group` (`id`),
CONSTRAINT `user_profile_groups_userprofile_id_3e52d209_fk_user_profile_id` FOREIGN KEY (`userprofile_id`) REFERENCES `user_profile` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `user_profile_groups`
--
LOCK TABLES `user_profile_groups` WRITE;
/*!40000 ALTER TABLE `user_profile_groups` DISABLE KEYS */;
INSERT INTO `user_profile_groups` VALUES (1,1,1);
/*!40000 ALTER TABLE `user_profile_groups` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `user_profile_user_permissions`
--
DROP TABLE IF EXISTS `user_profile_user_permissions`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `user_profile_user_permissions` (
`id` int NOT NULL AUTO_INCREMENT,
`userprofile_id` bigint NOT NULL,
`permission_id` int NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `user_profile_user_permis_userprofile_id_permissio_881e08f1_uniq` (`userprofile_id`,`permission_id`),
KEY `user_profile_user_pe_permission_id_f5abe73f_fk_auth_perm` (`permission_id`),
CONSTRAINT `user_profile_user_pe_permission_id_f5abe73f_fk_auth_perm` FOREIGN KEY (`permission_id`) REFERENCES `auth_permission` (`id`),
CONSTRAINT `user_profile_user_pe_userprofile_id_663dc0ea_fk_user_prof` FOREIGN KEY (`userprofile_id`) REFERENCES `user_profile` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `user_profile_user_permissions`
--
LOCK TABLES `user_profile_user_permissions` WRITE;
/*!40000 ALTER TABLE `user_profile_user_permissions` DISABLE KEYS */;
/*!40000 ALTER TABLE `user_profile_user_permissions` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `xibao_profile`
--
DROP TABLE IF EXISTS `xibao_profile`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `xibao_profile` (
`id` bigint NOT NULL AUTO_INCREMENT,
`classname` varchar(200) NOT NULL,
`name` varchar(20) NOT NULL,
`image` varchar(100) NOT NULL,
`title` varchar(50) DEFAULT NULL,
`content` varchar(1024) NOT NULL,
`phone` varchar(11) DEFAULT NULL,
`company` varchar(40) DEFAULT NULL,
`salary` decimal(10,2) DEFAULT NULL,
`job` varchar(10) DEFAULT NULL,
`old_job` varchar(200) DEFAULT NULL,
`old_salary` decimal(10,2) DEFAULT NULL,
`remark` varchar(512) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `xibao_profile`
--
LOCK TABLES `xibao_profile` WRITE;
/*!40000 ALTER TABLE `xibao_profile` DISABLE KEYS */;
INSERT INTO `xibao_profile` VALUES (1,'AIDTN2112','大美','job/girl.jpg','就业喜报','AIDTN2212学员高薪就业','18828282828','嘻嘻嘻科技',10000.00,'Python开发工程','销售',8000.00,'无'),(2,'AIDTN2211','小美','job/dilireba.jpg','AIDTN2211学员就业信息','哈哈哈哈终于工作了','16888883838','哈哈科技有限公司',20000.00,'CV工程师','骑手',8000.00,'无');
/*!40000 ALTER TABLE `xibao_profile` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2023-04-01 16:51:04
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/levi0321/mid-project.git
git@gitee.com:levi0321/mid-project.git
levi0321
mid-project
midProject
master

搜索帮助