Während des Laufens php Handwerkers wandern, bekam ich folgende FehlermeldungLaravel 5.1 Unbekannte Datenbanktyp Enum
[Lehre \ DBAL \ DBALException]
Unbekannte Datenbanktyp Enum angefordert, Lehre \ DBAL \ Platforms \ MySqlPlatform unterstützt es möglicherweise nicht.
So beheben Sie dieses Problem.
Code:
public function up() {
Schema::table('blogs', function (Blueprint $table) {
$table->string('wordpress_id')->nullable();
$table->string('google_blog_id')->nullable()->change();
});
}
Bitte senden Sie das Schema migrieren Sie versuchen, überschrieben. – Adrenaxus
public function nach oben() { Schema :: Tabelle ('Blogs', function ($ Blueprint-Tabelle) { $ table-> string ('wordpress_id') -> NULL festlegbare(); $ table-> string ('google_blog_id') -> nullable() -> change(); }); } – karthick
Enthält Ihre Tabelle eine 'Enum'-Spalte? – Adrenaxus