AI
console.log(error)
})
Size: a a a
AI
AI
AH
AI
AI
AI
AI
AI
SC
SC
НГ
НГ
V
public function up()Версия Laravel 5.5
{
Schema::create('family_groups', function (Blueprint $table) {
$table->increments('id');
$table->integer('group_id')->unsigned();
});
Schema::table('family_groups', function (Blueprint $table) {
$table->foreign('group_id')
->references('id')
->on('groups')
->onDelete('CASCADE');
});
}
$table->increments('id');
A
public function up()Версия Laravel 5.5
{
Schema::create('family_groups', function (Blueprint $table) {
$table->increments('id');
$table->integer('group_id')->unsigned();
});
Schema::table('family_groups', function (Blueprint $table) {
$table->foreign('group_id')
->references('id')
->on('groups')
->onDelete('CASCADE');
});
}
$table->increments('id');
V
V
A
V
vm
G