Skip to content

Commit

Permalink
fix #186
Browse files Browse the repository at this point in the history
  • Loading branch information
mambax7 committed Oct 6, 2022
1 parent 9c2eb62 commit 7fc67ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql/mysql.sql
Expand Up @@ -177,7 +177,7 @@ CREATE TABLE `suico_profile_field` (
`step_id` SMALLINT(3) UNSIGNED NOT NULL DEFAULT '0',

PRIMARY KEY (`field_id`),
UNIQUE KEY `field_name` (`field_name`),
UNIQUE KEY `field_name` (`field_name`(150)),
KEY `step` (`step_id`, `field_weight`)
)
ENGINE = MyISAM;
Expand All @@ -200,7 +200,7 @@ CREATE TABLE `suico_profile_regstep` (
`step_save` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0',

PRIMARY KEY (`step_id`),
KEY `sort` (`step_order`, `step_name`)
KEY `sort` (`step_order`, `step_name`(150))
)
ENGINE = MyISAM;

Expand Down

0 comments on commit 7fc67ed

Please sign in to comment.