all country
This commit is contained in:
parent
8196389188
commit
212df0d283
|
|
@ -120,6 +120,12 @@ protected function setupCreateOperation()
|
|||
'label' => 'Max size (KBytes)',
|
||||
'default' => 0
|
||||
],
|
||||
[
|
||||
'name' => 'order',
|
||||
'type' => 'number',
|
||||
'label' => 'Order',
|
||||
'default' => 0
|
||||
],
|
||||
[ // Checkbox
|
||||
'name' => 'business',
|
||||
'label' => 'Enterpreneurs',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,8 @@ class Document extends Model
|
|||
'max_size',
|
||||
'business',
|
||||
'company',
|
||||
'all_country'
|
||||
'all_country',
|
||||
'order'
|
||||
];
|
||||
// protected $hidden = [];
|
||||
// protected $dates = [];
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ public function up()
|
|||
$table->boolean('business')->default(0);
|
||||
$table->boolean('company')->default(0);
|
||||
$table->boolean('all_country')->default(0);
|
||||
$table->integer('order')->default(0);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -30,7 +31,8 @@ public function down()
|
|||
Schema::table('documents', function (Blueprint $table) {
|
||||
$table->dropColumn('business');
|
||||
$table->dropColumn('company');
|
||||
// $table->dropColumn('all_country');
|
||||
$table->dropColumn('all_country');
|
||||
// $table->dropColumn('order');
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue