我有
We were unable to enable quick deploy for your site because your GitHub token
is invalid for this repository or has expired. Please refresh the token in
your Forge account profile's "Authentication" tab.
我做了它所说的但没有帮助。
下面是我的部署脚本:
cd /home/forge/default
git pull origin master
composer install --no-interaction --no-dev --prefer-dist
php artisan migrate --force
我在服务器上手动运行它,我得到了
[Illuminate\Database\QueryException]
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'users' alre
ady exists (SQL: create table `users` (`id` int unsigned not null auto_incr
ement primary key, `email` varchar(255) not null, `first_name` varchar(50)
not null, `last_name` varchar(50) not null, `organization` varchar(255) not
null, `reason` varchar(255) not null, `password` varchar(60) not null, `ro
le` varchar(255) not null default 'reg', `activation_code` varchar(255) not
null, `status` tinyint not null default '0', `remember_token` varchar(100)
null, `created_at` timestamp default 0 not null, `updated_at` timestamp de
fault 0 not null) default character set utf8 collate utf8_unicode_ci)
[PDOException]
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'users' alre
ady exists
我注释掉了表创建脚本,但仍然无法使用快速部署。