ソースを参照

マイグレーション 微修正

develop
sosuke.iwabuchi 2年前
コミット
c0a8bf73e9
1個のファイルの変更0行の追加2行の削除
  1. +0
    -2
      database/migrations/2023_08_22_100200_add_column_contracts_contract_code.php

+ 0
- 2
database/migrations/2023_08_22_100200_add_column_contracts_contract_code.php ファイルの表示

@@ -34,8 +34,6 @@ return new class extends Migration
Schema::table('contracts', function (Blueprint $table) {
$helper = new MigrationHelper($table);
$table->dropColumn("contract_code");

$helper->dropIndex(1);
});
Schema::table('contract_histories', function (Blueprint $table) {
$table->dropColumn("contract_code");


読み込み中…
キャンセル
保存