namespace

This commit is contained in:
2021-03-19 21:41:51 +09:00
parent 2da297facd
commit ded58ea79a
4 changed files with 4 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ use Illuminate\Database\Eloquent\Model;
class AfterActionReport extends Model
{
//Table Name
public $table = '';
public $table = 'fc_after_action_reports';
//Primary Key
public $primaryKey = 'id';

View File

@@ -7,7 +7,7 @@ use Illuminate\Database\Eloquent\Model;
class AfterActionReportComment extends Model
{
//Table Name
public $table = '';
public $table = 'fc_aar_comments';
//Primary Key
public $primaryKey = 'id';

View File

@@ -22,7 +22,7 @@ class CreateAfterActionReportsTables extends Migration
$table->string('formup_location');
$table->enum('comms', [
'W4RP',
'Brave',
'Voltron',
'TEST',
'Other',
]);

View File

@@ -22,7 +22,7 @@
</div>
<div class="form-group">
{{ Form::label('comms', 'Comms') }}
{{ Form::text('comms', '', ['class' => 'form-control']) }}
{{ Form::select('comms', ['W4RP', 'Voltron', 'TEST', 'Other'], ['class' => 'form-control']) }}
</div>
<div class="form-group">
{{ Form::label('doctrine', 'Doctrine') }}