-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not `php artisan world:init' #3
Comments
I've got this error `Migration table not found. [Illuminate\Database\QueryException] [PDOException] |
Might hit migration bugs, |
I have this error when do world:init |
PDOException::("SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xF0\x9F\x8 7\xA8\xF0\x9F...' for column 'emoji' at row 1") |
Hi @Deparagon @kotakorange, you have to use utf8mb4 for your database charset, otherwise you can't using emoji. |
@wildanmuhlis2 you can add following lines in use Illuminate\Support\Facades\Schema;
...
public function boot()
{
Schema::defaultStringLength(191);
}
... |
Why was this issue was closed? Users hijacked the issue with unrelated issues to the original poster and the issue is still present for postgres users. There's a syntax issue in 3 migration files. A duplicate index name is generated for multiple columns: CreateWorldContinentsLocaleTable.php: CreateWorldCountriesLocaleTable: CreateWorldDivisionsTable.php: You're giving multiple indexes the same name which breaks when using postgres. Again, I don't understand why this issue was closed when the following was never attended to:
|
I have followed the step, but it occurs an error when I did
php artisan world:init
.I got this error
Duplicate table: 7 ERROR: relation unique_locale has already exist
I don't know why and I have checked all my table and I does not have the unique_locale
The text was updated successfully, but these errors were encountered: