back: 2021_08_30_042715_create_user_cerentials_table
TypeError
stripos(): Argument #1 ($haystack) must be of type string, array given
at C:\xampp\htdocs\sites\laravel\vendor\laravel\framework\src\Illuminate\Database\Grammar.php:61
57▕
58▕ // If the value being wrapped has a column alias we will need to separate out
59▕ // the pieces so we can wrap each of the segments of the expression on its
60▕ // own, and then join these both back together using the "as" connector.
➜ 61▕ if (stripos($value, ' as ') !== false) {
62▕ return $this->wrapAliasedValue($value, $prefixAlias);
63▕ }
64▕
65▕ return $this->wrapSegments(explode('.', $value));
Что-то не так написали, смотрите стейт
Покажите миграцию 2021_08_30_042715_create_user_cerentials_table
public function down() { Schema::table('users', function (Blueprint $table) { $table->dropColumn("wmr"); $table->dropColumn("wmz"); $table->dropColumn("yandex"); $table->dropColumn("qiwi"); $table->dropColumn("visa"); $table->dropColumn('card_currency'); $table->dropColumn("fio"); $table->dropColumn("sex"); $table->dropColumn("about"); }); Schema::dropIfExists('user_alerts'); Schema::dropIfExists('user_themes'); Schema::dropIfExists('user_langs'); }
$table->dropColumn(['wmr', 'wmz'...]) для начала попробуйте
Обсуждают сегодня