0
Php Handwerker Migrate: Aktualisierung nicht funktioniert
Dies ist Benutzer Migrationscode:
public function up()
{
Schema::create('users', function (Blueprint $table) {
$table->increments('id');
$table->string('nickname')->unique();
$table->string('email')->unique();
$table->string('password', 60);
$table->string('pic_url')->nullable();
$table->string('language')->default('en');
$table->string('mobile_phone')->nullable();
$table->string('work_phone')->nullable();
$table->string('website')->nullable();
$table->string('twitter')->nullable();
$table->string('facebook')->nullable();
$table->string('description')->nullable();
$table->string('time_zone')->nullable();
$table->integer('rate_val')->nullable();
$table->integer('rate_count')->nullable();
$table->enum('role', array_keys(trans('globals.roles')))->default('person');
$table->enum('type', array_keys(trans('globals.type_user')))->default('normal');
$table->enum('verified', array_keys(trans('globals.verification')))->default('no');
$table->json('preferences')->nullable();
$table->rememberToken();
$table->timestamps();
$table->timestamp('disabled_at')->nullable();
$table->softDeletes();
});
}
„php Handwerkers Migrate: refresh“ Wenn ich diesen Befehl auszuführen versuche ich Störung erhalte, die zeigt, im Bild.
Bitte helfen Sie mir, dieses Problem zu lösen.
Vielen Dank im Voraus.
den Code Ihrer Migrations- –
Es ist Syntaxfehler in Ihrem Migrationscode – senty
Ich habe 20 Tabellen in meinem Migrationsordner. Wie kann ich hier posten? – user2965171