public function up()
{
Schema::create('dics', function(Blueprint $table) {
$table->string('id')->primary(); // ● id を string にする
$table->text('name')->nullable()->comment('テキスト');
$table->integer('sort_no')->unsigned()->comment('ソート順');
$table->timestamps();
$table->primary('id');
});
}
class dics extends Model
{
public $incrementing = false;
}