我为我的项目使用PostgreSQL,但是当我迁移过程时出现此错误。列“migrations.id”具有不受支持的类型“串行”
[email protected]:/var/www/html/CRMPixel$ php artisan migrate
[Illuminate\Database\QueryException]
SQLSTATE[0A000]: Feature not supported: 7 ERROR: Column "migrations.id" has unsupported type "serial". (SQL: create table "migrations" ("id" serial primary key not null, "migration" varchar(191) not null, "batch" integer not null))
[PDOException]
SQLSTATE[0A000]: Feature not supported: 7 ERROR: Column "migrations.id" has unsupported type "serial".
您使用的是哪个版本的PostgreSQL? – user3158900
向我们展示迁移。 –
@ user3158900版本:i686-pc-linux-gnu上的PostgreSQL 8.0.2,由GCC gcc编译(GCC)3.4.2 20041017(Red Hat 3.4.2-6.fc3),Redshift 1.0.1430 – Frollo