$table->enum('type', ['replace', 'warning'])->comment('类型'); 转载于:https://www.cnblogs.com/sgm4231/p/10307945.html