Please select the database type [MySQL]:
[0] MySQL
[1] MariaDB
[2] PostgreSQL
[3] SQL Server
[4] SQLite
>
Please enter the database host [127.0.0.1]:
> localhost
Please enter the database port [3306]:
>
Please enter the database name [fresns]:
>
Please enter the database username [fresns]:
> root
Please enter the database password:
> root
Please select database timezone [UTC+8]:
[0 ] UTC-11
[1 ] UTC-10
[2 ] UTC-9:30
[3 ] UTC-9
[4 ] UTC-8
[5 ] UTC-7
[6 ] UTC-6
[7 ] UTC-5
[8 ] UTC-4
[9 ] UTC-3:30
[10] UTC-3
[11] UTC-2
[12] UTC-1
[13] UTC+0
[14] UTC+1
[15] UTC+2
[16] UTC+3
[17] UTC+3:30
[18] UTC+4
[19] UTC+4:30
[20] UTC+5
[21] UTC+5:30
[22] UTC+5:45
[23] UTC+6
[24] UTC+6:30
[25] UTC+7
[26] UTC+8
[27] UTC+8:45
[28] UTC+9
[29] UTC+9:30
[30] UTC+10
[31] UTC+10:30
[32] UTC+11
[33] UTC+12
[34] UTC+12:45
[35] UTC+13
[36] UTC+14
>
Please enter the database table prefix [fs_]:
>
Please enter the website host(APP_URL) [http://localhost]:
> https://xxxxxxxxx.cn
APPLICATION IN PRODUCTION.
┌ Are you sure you want to run this command? ──────────────────┐
│ Yes │
└──────────────────────────────────────────────────────────────┘
INFO Preparing database.
Creating migration table ............................................................................................................. 9.49ms DONE
INFO Running migrations.
0001_01_01_000000_create_accounts_table ............................................................................................. 74.70ms DONE
0001_01_01_000000_create_apps_table ................................................................................................. 39.67ms DONE
0001_01_01_000000_create_archives_table ............................................................................................. 36.90ms DONE
0001_01_01_000000_create_cities_table ............................................................................................... 36.88ms DONE
0001_01_01_000000_create_comments_table ............................................................................................ 127.97ms DONE
0001_01_01_000000_create_configs_table .............................................................................................. 40.36ms DONE
0001_01_01_000000_create_domains_table .............................................................................................. 36.65ms FAIL
Illuminate\Database\QueryException
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (Connection: mysql, SQL: alter table `fs_domain_links` add unique `link_url`(`link_url`))
at vendor/laravel/framework/src/Illuminate/Database/Connection.php:813
809▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
810▕ );
811▕ }
812▕
➜ 813▕ throw new QueryException(
814▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
815▕ );
816▕ }
817▕ }
+9 vendor frames
10 database/migrations/0001_01_01_000000_create_domains_table.php:32
Illuminate\Support\Facades\Facade::__callStatic("create")
+23 vendor frames
34 app/Console/Commands/InstallFresns.php:129