-
Couldn't load subscription status.
- Fork 29
Open
Labels
Description
Syntax error or access violation: 1068 Multiple prima ry key defined (SQL: alter table mytable_version add primary key mytable_version_version_primary(version ))
with code:
Schema::create('mytable_version', function(Blueprint $table) {
$table->integer('ref_id')->primary();
$table->integer('version')->primary();
//add versionable columns
$table->timestamps();
$table->softDeletes();
});