فهرست منبع

feat(database): add entrust file fields to profit share receiver table

- Added `entrust_file_name` column for agreement attachment name
- Added `entrust_file_path` column for agreement attachment path
- Added `entrust_local_path` column for local agreement attachment path
- Updated migration file to include new columns with appropriate limits and comments
runphp 4 ماه پیش
والد
کامیت
5a22a08a76
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      database/migrations/20251109121623_profit_share_receiver.php

+ 3 - 0
database/migrations/20251109121623_profit_share_receiver.php

@@ -39,6 +39,9 @@ final class ProfitShareReceiver extends AbstractMigration
             ->addColumn('receiver_no', 'string', ['null' => true, 'limit' => 32, 'comment' => '接收方编号'])
             ->addColumn('status', 'integer', ['signed' => false, 'default' => 1, 'comment' => '状态 1: 待审核 2:提交中 3: 验证通过 4: 验证失败 5:绑定中 6: 绑定成功 7: 绑定失败'])
             ->addColumn('fail_reason', 'string', ['null' => true, 'limit' => 255, 'comment' => '失败原因'])
+            ->addColumn('entrust_file_name', 'string', ['null' => true, 'limit' => 32, 'comment' => '合作协议附件名称'])
+            ->addColumn('entrust_file_path', 'string', ['null' => true, 'limit' => 32, 'comment' => '合作协议附件路径'])
+            ->addColumn('entrust_local_path', 'string', ['null' => true, 'limit' => 32, 'comment' => '合作协议附件本地路径'])
             ->addTimestamps('create_time', 'update_time')
             ->addColumn('delete_time', 'timestamp', ['null' => true, 'comment' => '删除时间'])
             ->addIndex('user_id', ['name' => 'idx_user_id'])