update socket
This commit is contained in:
@@ -32,7 +32,7 @@ class Vehicle extends \yii\db\ActiveRecord {
|
||||
*/
|
||||
public function rules() {
|
||||
return [
|
||||
[['plate', 'type'], 'required'],
|
||||
[['plate'], 'required'],
|
||||
[['company', 'vehicle_type'], 'string'],
|
||||
[['plate', 'type'], 'string', 'max' => 20],
|
||||
[['driver', 'telephone', 'indentity_card'], 'string', 'max' => 200],
|
||||
|
||||
Reference in New Issue
Block a user