迁移Laravel望远镜表时出错

时间:2019-09-10 16:50:17

标签: php

我为laravel框架安装了望远镜。我仍然必须迁移数据库。但是,当我迁移时,会出现此错误

Illuminate\Database\QueryException : SQLSTATE[42000]: Syntax error or access violation: 1064 Something is wrong in your syntax obok '('1'), `type` varchar(20) not null, `content` longtext not null, `created_at` da' w linii 1 (SQL: create table `telescope_entries` (`sequence` bigint unsigned not null auto_increment primary key, `uuid` char(36) not null, `batch_id` char(36) not null, `family_hash` varchar(255) null, `should_display_on_index` tinyint(1) not null default ('1'), `type` varchar(20) not null, `content` longtext not null, `created_at` datetime null) default character set utf8mb4 collate 'utf8mb4_unicode_ci')

有什么办法解决这个问题吗?我使用MySQL 5.7数据库

0 个答案:

没有答案