瀏覽代碼

マイグレーション 微修正

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");


Loading…
取消
儲存