mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-10 07:16:06 -06:00
add the newly added column to the option stream migration
This commit is contained in:
parent
5468d060c2
commit
3660c38177
@ -250,13 +250,5 @@ class VisiosoftModuleAdvsCreateAdvsFields extends Migration
|
|||||||
'default_value' => 0,
|
'default_value' => 0,
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
|
||||||
// Options Fields
|
|
||||||
"adv" => [
|
|
||||||
"type" => "anomaly.field_type.relationship",
|
|
||||||
"config" => [
|
|
||||||
"related" => AdvModel::class,
|
|
||||||
]
|
|
||||||
]
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@ -28,6 +28,18 @@ class VisiosoftModuleAdvsCreateOptionsStream extends Migration
|
|||||||
'sortable' => false,
|
'sortable' => false,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This field will be added.
|
||||||
|
*/
|
||||||
|
protected $fields = [
|
||||||
|
"adv" => [
|
||||||
|
"type" => "anomaly.field_type.relationship",
|
||||||
|
"config" => [
|
||||||
|
"related" => \Visiosoft\AdvsModule\Adv\AdvModel::class,
|
||||||
|
]
|
||||||
|
]
|
||||||
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The stream assignments.
|
* The stream assignments.
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user