Fields can be added to resources and represent how a resource's table column should be populated. These fields provide a way to populate the resource's database columns with data. So make sure the columns are added to the migration and migrated before adding fields in Laramanager.
class CreateEventsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('events', function (Blueprint $table) {
$table->increments('id');
$table->string('title');
$table->string('slug');
$table->text('description');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('events');
}
}
Navigate to resources under the "System" navigation section.
Then click on the field list icon (). This will bring up the field list for this resource.
Next, select "Create" to add a new field.
After creating all your fields, they will show up in the resource's field list.