Skip to content

Commit

Permalink
[SQL/Base] Drop create database in SQL file. Change charset of table …
Browse files Browse the repository at this point in the history
…characters.
  • Loading branch information
leelf00 committed Dec 30, 2023
1 parent 69d5d16 commit 2ebcc3c
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions sql/base/characters.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,6 @@ MySQL - 5.6.26-log : Database - characters
*/


/*!40101 SET NAMES utf8 */;

/*!40101 SET SQL_MODE=''*/;

/*!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 */;
CREATE DATABASE /*!32312 IF NOT EXISTS*/`characters` /*!40100 DEFAULT CHARACTER SET utf8 */;

USE `characters`;

/*Table structure for table `account_achievement` */

DROP TABLE IF EXISTS `account_achievement`;
Expand Down Expand Up @@ -1218,7 +1206,7 @@ CREATE TABLE `characters` (
KEY `idx_account` (`account`),
KEY `idx_online` (`online`),
KEY `idx_name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Player System';

/*Data for the table `characters` */

Expand Down

0 comments on commit 2ebcc3c

Please sign in to comment.