Commit 2c5e7aaf authored by Jun Chen's avatar Jun Chen
Browse files

set utf8 for all sql script

parent 0886e444
Showing with 2 additions and 2 deletions
+2 -2
......@@ -9,6 +9,7 @@ TEXT='use wecube;'
cd database
for i in `ls -1 ./*.wecube.*.sql`; do
CONTENTS=`cat $i`
echo "SET NAMES utf8;" > $i
echo $TEXT > $i
echo $CONTENTS >> $i
done
......@@ -25,6 +26,7 @@ TEXT='use auth;'
cd database
for i in `ls -1 ./*.auth.*.sql`; do
CONTENTS=`cat $i`
echo "SET NAMES utf8;" > $i
echo $TEXT > $i
echo $CONTENTS >> $i
done
......
set names 'utf8';
SET FOREIGN_KEY_CHECKS=0;
insert into `auth_sys_authority`(`id`,`created_by`,`created_time`,`updated_by`,`updated_time`,`is_active`,`is_deleted`,`code`,`description`,`display_name`,`scope`) values
('2c9280827019695c017019c28b0f001e','umadmin','2020-02-06 17:09:04',NULL,NULL,'','\0','IMPLEMENTATION_WORKFLOW_EXECUTION',NULL,'IMPLEMENTATION_WORKFLOW_EXECUTION','GLOBAL'),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment