因为刚才老师定义时间是int(11)位的,而系统要生成的时间位数长,所以把位数改高点,我的是改成varchar(30)就成功了。
2017-03-22
报错:Whoops, looks like something went wrong.
1/1 InvalidArgumentException in FileViewFinder.php line 137: View [student.section1] not found.
1/1 InvalidArgumentException in FileViewFinder.php line 137: View [student.section1] not found.
2017-03-17
找不到.env 就直接去掉这个方法啊
'host' => 'localhost',
'database' => 'laravel',
'username' => 'root',
'password' => '',这样写 配置文件就可以了
'host' => 'localhost',
'database' => 'laravel',
'username' => 'root',
'password' => '',这样写 配置文件就可以了
2017-03-16
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'updated_at' in 'field list' (SQL: insert into `student` (`name`, `age`, `updated_at`, `created_at`) values (hui, 19, 2017-03-04 02:33:38, 2017-03-04 02:33:38))
老师给的数据库有问题, 你们把那个update_at 改成 updated_at
老师给的数据库有问题, 你们把那个update_at 改成 updated_at
2017-03-12