mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-06-08 12:58:11 +08:00
Update PhinxExtend.php
This commit is contained in:
parent
47b93ca03a
commit
f71d2d289d
@ -144,7 +144,7 @@ class PhinxExtend
|
|||||||
return $part[0] ?? '';
|
return $part[0] ?? '';
|
||||||
}, explode('_', $str)));
|
}, explode('_', $str)));
|
||||||
};
|
};
|
||||||
return sprintf('idx_%s_%s_%s', substr(md5($table), -4), $getInitials($table), $getInitials($name));
|
return sprintf('idx_%s_%s_%s', substr(md5($table), -4), $getInitials($table), $name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user