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 class AfterActionReport extends Model
{ {
//Table Name //Table Name
public $table = ''; public $table = 'fc_after_action_reports';
//Primary Key //Primary Key
public $primaryKey = 'id'; public $primaryKey = 'id';

View File

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

View File

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

View File

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