浏览代码

マイグレーション 微修正

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) { Schema::table('contracts', function (Blueprint $table) {
$helper = new MigrationHelper($table); $helper = new MigrationHelper($table);
$table->dropColumn("contract_code"); $table->dropColumn("contract_code");

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


正在加载...
取消
保存