dehtak

Ahoj, Nevim cim to, ale kdyz dam prikaz artisan migrate tak mi to vyhodi chyby a nevytvori vsechny tabulky a to chci jen vytvorit ty co uz jsou prednastaveny od laravelu (user, failed_jobs...) Microsoft Windows [Verze 6.1.7601] Copyright (c) 2009 Microsoft Corporation. Všechna práva vyhrazena.


w:\008>php artisan migrate
Migration table created successfully.
Migrating: 2014_10_12_000000_create_users_table

   Illuminate\Database\QueryException

  SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table `users` add unique `users_email_unique`(`email`))

  at W:\008\vendor\laravel\framework\src\Illuminate\Database\Connection.php:671
    667▕         // If an exception occurs when attempting to run a query, we'll format the error
    668▕         // message to include the bindings with SQL, which will make this exception a
    669▕         // lot more helpful to the developer instead of just the database's errors.
    670▕         catch (Exception $e) {
  ➜ 671▕             throw new QueryException(
    672▕                 $query, $this->prepareBindings($bindings), $e
    673▕             );
    674▕         }
    675▕
     }
    675▕

  1   W:\008\vendor\laravel\framework\src\Illuminate\Database\Connection.php:464
      PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes")

  2   W:\008\vendor\laravel\framework\src\Illuminate\Database\Connection.php:464
      PDOStatement::execute()

Nekde sem udelal chybu nechapu

Ešte nie si členom CZ/SK Laravel komunity?

To možeš ľahko zmeniť. Registrácia je zdarma a ako registrovaný člen získaš množstvo výhod. Prečítaj si prečo by si mal byť členom.

Prihlásiť sa Zaregistrovať
Zoradiť odpovede:
LavillMip
by @LavillMip (45), pred 9 hodinami

[url=https://chimmed.ru/products/1-chloro-2-fluoro-4-4-chlorophenylsulfanylmethylbenzene-id=4523829]1 chloro 2 fluoro 4 4 chlorophenyl sulfanylmethyl benzene - купить онлайн в интернет-магазине химмед [/url] Tegs: [u]5 3 ethoxyphenyl 2 chlorobenzoic acid 95% - купить онлайн в интернет-магазине химмед [/u] [i]5 3 ethoxyphenyl 2 chloroisonicotinic acid 95% - купить онлайн в интернет-магазине химмед [/i] [b]5 3 ethoxyphenyl 2 cyanophenol 95% - купить онлайн в интернет-магазине химмед [/b]

1 chloro 2 fluoro 4 4 chlorophenyl sulfanylmethyl benzene - купить онлайн в интернет-магазине химмед https://chimmed.ru/products/1-chloro-2-fluoro-4-4-chlorophenylsulfanylmethylbenzene-id=4530826