update segment migration files

This commit is contained in:
edmondlang
2022-04-17 23:54:44 +08:00
parent d8c9c77d8d
commit 762e9b8dca
@@ -16,6 +16,7 @@ class CreateSegmentCompaniesTable extends Migration
Schema::create('segment_companies', function (Blueprint $table) {
$table->foreignId('segment_id');
$table->foreignId('company_id');
$table->softDeletes();
$table->timestamps();
$table->primary(['segment_id', 'company_id']);
});