Using migration:
Schema::table('posts', function (Blueprint $table) { $table->string('title_body')->virtualAs("CONCAT(title, ' ', body)"); });