mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Merge pull request #597 from openclassify/dia
add the newly added column to the option stream migration
This commit is contained in:
commit
d3f1584cc4
@ -250,13 +250,5 @@ class VisiosoftModuleAdvsCreateAdvsFields extends Migration
|
||||
'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,
|
||||
];
|
||||
|
||||
/**
|
||||
* This field will be added.
|
||||
*/
|
||||
protected $fields = [
|
||||
"adv" => [
|
||||
"type" => "anomaly.field_type.relationship",
|
||||
"config" => [
|
||||
"related" => \Visiosoft\AdvsModule\Adv\AdvModel::class,
|
||||
]
|
||||
]
|
||||
];
|
||||
|
||||
/**
|
||||
* The stream assignments.
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user