database/migrations/2026_01_16_144753_create_management_table.php を更新
All checks were successful
Deploy so-manager (auto) / deploy (push) Successful in 23s
All checks were successful
Deploy so-manager (auto) / deploy (push) Successful in 23s
This commit is contained in:
parent
e8d392b0d9
commit
e8eca949df
@ -17,7 +17,7 @@ return new class extends Migration
|
|||||||
$table->string('management_code', 10)->unique(); // varchar(10), NOT NULL, UNIQUE
|
$table->string('management_code', 10)->unique(); // varchar(10), NOT NULL, UNIQUE
|
||||||
$table->boolean('municipality_flag')->nullable(); // tinyint(1), NULL
|
$table->boolean('municipality_flag')->nullable(); // tinyint(1), NULL
|
||||||
$table->boolean('government_approval_required')->nullable(); // tinyint(1), NULL
|
$table->boolean('government_approval_required')->nullable(); // tinyint(1), NULL
|
||||||
$table->boolean('valid_flag '); // tinyint(1)
|
$table->boolean('valid_flag'); // tinyint(1)
|
||||||
$table->timestamps(); // created_at, updated_at (datetime), NOT NULL
|
$table->timestamps(); // created_at, updated_at (datetime), NOT NULL
|
||||||
$table->unsignedInteger('operator_id')->nullable(); // int(10), NULL
|
$table->unsignedInteger('operator_id')->nullable(); // int(10), NULL
|
||||||
$table->foreign('operator_id')->references('ope_id')->on('ope'); // 外部キー(opeテーブルのope_idを参照)
|
$table->foreign('operator_id')->references('ope_id')->on('ope'); // 外部キー(opeテーブルのope_idを参照)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user