摘要: 当用 Laravel 的数据迁移来更新 Enum 类型的字段时,比如:修改字段名 Schema::table('table_name', function (Blueprint $table) { $table->renameColumn('from', 'to'); }); 当执行迁移命令的时候: 阅读全文
posted @ 2020-07-15 14:29 songlen 阅读(561) 评论(0) 推荐(0) 编辑