Browse Source

初始默认值修改

xiatian 10 months ago
parent
commit
6ceb43073d
2 changed files with 1 additions and 1 deletions
  1. 1 1
      install/mysql/init/paper_struct_db.sql
  2. 0 0
      install/mysql/upgrade/1.0.2.sql

+ 1 - 1
db/init.sql → install/mysql/init/paper_struct_db.sql

@@ -265,7 +265,7 @@ CREATE TABLE `mps_user_course_relation` (
   PRIMARY KEY (`user_id`,`course_id`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
 
-INSERT INTO `mps_wxapp_access_token` (`id`) VALUES (1);
+INSERT INTO `mps_wxapp_access_token` (`id`,`expires_time`) VALUES (1,-1);
 INSERT INTO `mps_school` (`id`,`code`, `create_time`, `update_time`, `enable`, `name`) VALUES (1,'qmth', now(), now(), 1, '启明泰和');
 
 

+ 0 - 0
install/mysql/upgrade/1.0.2.sql