Commit a1e5908c1d76d2f901e1d5950648419be9de60cc
1 parent
37a53aa1
Yarik
Showing
16 changed files
with
803 additions
and
543 deletions
Show diff stats
common/models/Road.php
| @@ -10,10 +10,8 @@ use Yii; | @@ -10,10 +10,8 @@ use Yii; | ||
| 10 | * @property integer $road_id | 10 | * @property integer $road_id |
| 11 | * @property string $name | 11 | * @property string $name |
| 12 | * @property integer $road_type_id | 12 | * @property integer $road_type_id |
| 13 | - * @property integer $road_category_id | ||
| 14 | * @property integer $index | 13 | * @property integer $index |
| 15 | * | 14 | * |
| 16 | - * @property RoadCategory $roadCategory | ||
| 17 | * @property RoadType $roadType | 15 | * @property RoadType $roadType |
| 18 | * @property RoadPassport[] $roadPassports | 16 | * @property RoadPassport[] $roadPassports |
| 19 | */ | 17 | */ |
| @@ -33,12 +31,11 @@ class Road extends \yii\db\ActiveRecord | @@ -33,12 +31,11 @@ class Road extends \yii\db\ActiveRecord | ||
| 33 | public function rules() | 31 | public function rules() |
| 34 | { | 32 | { |
| 35 | return [ | 33 | return [ |
| 36 | - [['road_type_id', 'road_category_id', 'name', 'index'], 'required'], | ||
| 37 | - [['road_type_id', 'road_category_id', 'index'], 'integer'], | 34 | + [['road_type_id', 'name', 'index'], 'required'], |
| 35 | + [['road_type_id', 'index'], 'integer'], | ||
| 38 | [['index'], 'default', 'value' => 0], | 36 | [['index'], 'default', 'value' => 0], |
| 39 | [['name'], 'string', 'max' => 255], | 37 | [['name'], 'string', 'max' => 255], |
| 40 | [['road_type_id', 'index'], 'unique', 'skipOnError' => true, 'targetAttribute' => ['road_type_id', 'index'], 'message' => 'The combination of Road Type ID and Index has already been taken.'], | 38 | [['road_type_id', 'index'], 'unique', 'skipOnError' => true, 'targetAttribute' => ['road_type_id', 'index'], 'message' => 'The combination of Road Type ID and Index has already been taken.'], |
| 41 | - [['road_category_id'], 'exist', 'skipOnError' => true, 'targetClass' => RoadCategory::className(), 'targetAttribute' => ['road_category_id' => 'road_category_id']], | ||
| 42 | [['road_type_id'], 'exist', 'skipOnError' => true, 'targetClass' => RoadType::className(), 'targetAttribute' => ['road_type_id' => 'road_type_id']], | 39 | [['road_type_id'], 'exist', 'skipOnError' => true, 'targetClass' => RoadType::className(), 'targetAttribute' => ['road_type_id' => 'road_type_id']], |
| 43 | ]; | 40 | ]; |
| 44 | } | 41 | } |
| @@ -52,7 +49,6 @@ class Road extends \yii\db\ActiveRecord | @@ -52,7 +49,6 @@ class Road extends \yii\db\ActiveRecord | ||
| 52 | 'road_id' => 'Road ID', | 49 | 'road_id' => 'Road ID', |
| 53 | 'name' => 'Назва дороги', | 50 | 'name' => 'Назва дороги', |
| 54 | 'road_type_id' => 'Тип дороги', | 51 | 'road_type_id' => 'Тип дороги', |
| 55 | - 'road_category_id' => 'Категорія дороги', | ||
| 56 | 'index' => 'Індекс дороги', | 52 | 'index' => 'Індекс дороги', |
| 57 | ]; | 53 | ]; |
| 58 | } | 54 | } |
| @@ -60,14 +56,6 @@ class Road extends \yii\db\ActiveRecord | @@ -60,14 +56,6 @@ class Road extends \yii\db\ActiveRecord | ||
| 60 | /** | 56 | /** |
| 61 | * @return \yii\db\ActiveQuery | 57 | * @return \yii\db\ActiveQuery |
| 62 | */ | 58 | */ |
| 63 | - public function getRoadCategory() | ||
| 64 | - { | ||
| 65 | - return $this->hasOne(RoadCategory::className(), ['road_category_id' => 'road_category_id'])->inverseOf('roads'); | ||
| 66 | - } | ||
| 67 | - | ||
| 68 | - /** | ||
| 69 | - * @return \yii\db\ActiveQuery | ||
| 70 | - */ | ||
| 71 | public function getRoadType() | 59 | public function getRoadType() |
| 72 | { | 60 | { |
| 73 | return $this->hasOne(RoadType::className(), ['road_type_id' => 'road_type_id'])->inverseOf('roads'); | 61 | return $this->hasOne(RoadType::className(), ['road_type_id' => 'road_type_id'])->inverseOf('roads'); |
console/migrations/_m160609_074818_tables.php renamed to console/migrations/m160609_074818_tables.php
| @@ -4,19 +4,161 @@ use yii\db\Migration; | @@ -4,19 +4,161 @@ use yii\db\Migration; | ||
| 4 | 4 | ||
| 5 | class m160609_074818_tables extends Migration | 5 | class m160609_074818_tables extends Migration |
| 6 | { | 6 | { |
| 7 | - public function up() | 7 | + public function safeUp() |
| 8 | { | 8 | { |
| 9 | + // Table 5.1 | ||
| 10 | + $this->createTable('road', [ | ||
| 11 | + 'road_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | ||
| 12 | + 'road_name' => $this->string()->comment('Назва автомобільної дороги або під\'їзду (обходу, транспортної розв\'язки) в складі титулу (згідно з [5])'), | ||
| 13 | + 'value' => $this->text()->comment('Значення'), | ||
| 14 | + 'length' => $this->float()->comment('Загальна довжина'), | ||
| 15 | + 'historical_background' => $this->text()->comment('Історична довідка'), | ||
| 16 | + 'economic_value' => $this->text()->comment('Господарське значення'), | ||
| 17 | + 'law_doc' => $this->string()->comment('Правовстановлюючий документ титулу (pdf [3], [5])'), | ||
| 18 | + 'accept_transfer_doc' => $this->string()->comment('Правовстановлюючий документ про приймання-передачу титулу на баланс (pdf [3])'), | ||
| 19 | + 'acceptance_doc' => $this->string()->comment('Документ про прийняття в експлуатацію (pdf [3], [15])'), | ||
| 20 | + 'authority_act' => $this->string()->comment('Звіт органа управління (форма No1-ДГ [6])'), | ||
| 21 | + 'road_type_id' => $this->integer()->comment('Тип дороги'), | ||
| 22 | + ]); | ||
| 23 | + $this->addCommentOnTable('road', 'Облікова відомість титулів автомобільних доріг'); | ||
| 24 | + | ||
| 25 | + // Table 5.2 | ||
| 26 | + $this->createTable('authority', [ | ||
| 27 | + 'authority_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | ||
| 28 | + 'road_name' => $this->string()->comment('Назва автомобільної дороги або під\'їзду (обходу, транспортної розв\'язки) в складі титулу (згідно з [5])'), | ||
| 29 | + 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), | ||
| 30 | + 'authority_name' => $this->string()->comment('Назва органу управління (балансоутримувача) ([4])'), | ||
| 31 | + 'info' => $this->text()->comment('Реквізити та інформація про орган управління'), | ||
| 32 | + 'road_section_number' => $this->integer()->comment('Номер ділянки дороги'), | ||
| 33 | + 'begin' => $this->string()->comment('Початок (псевдогеодані)'), | ||
| 34 | + 'end' => $this->string()->comment('Кінець (псевдогеодані)'), | ||
| 35 | + 'length' => $this->float()->comment('Довжина (у метрах)'), | ||
| 36 | + 'right_coords' => $this->string()->comment('Координати вісі правого проїзду (згідно 6.2.2 СОУ 42.1-37641918-122; геодані з двома цифрами після коми)'), | ||
| 37 | + 'begin_scheme' => $this->string()->comment('Схема початку/межі збірного об’єкту (ділянки, титулу) (tiff [3])'), | ||
| 38 | + 'end_scheme' => $this->string()->comment('Схема кінця/межі збірного об’єкту (ділянки, титулу) (tiff [3])'), | ||
| 39 | + ]); | ||
| 40 | + $this->addCommentOnTable('authority', 'Облікова відомість органів управління'); | ||
| 41 | + | ||
| 42 | + // Table 5.3 | ||
| 43 | + $this->createTable('contractor', [ | ||
| 44 | + 'contractor_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | ||
| 45 | + 'road_name' => $this->string()->comment('Назва автомобільної дороги або під\'їзду (обходу, транспортної розв\'язки) в складі титулу (згідно з [5])'), | ||
| 46 | + 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), | ||
| 47 | + 'contractor_name' => $this->string()->comment('Назва підрядника'), | ||
| 48 | + 'info' => $this->text()->comment('Реквізити та інформація про підрядника'), | ||
| 49 | + 'road_section_number' => $this->integer()->comment('Номер ділянки дороги'), | ||
| 50 | + 'contractor_section_number' => $this->integer()->comment('Номер ділянки підрядника'), | ||
| 51 | + 'begin' => $this->string()->comment('Початок (псевдогеодані)'), | ||
| 52 | + 'end' => $this->string()->comment('Кінець (псевдогеодані)'), | ||
| 53 | + 'length' => $this->float()->comment('Довжина (у метрах)'), | ||
| 54 | + 'right_coords' => $this->string()->comment('Координати вісі правого проїзду (згідно 6.2.2 СОУ 42.1-37641918-122; геодані з двома цифрами після коми)'), | ||
| 55 | + 'begin_scheme' => $this->string()->comment('Схема початку/межі збірного об’єкту (ділянки, титулу) (tiff [3])'), | ||
| 56 | + 'end_scheme' => $this->string()->comment('Схема кінця/межі збірного об’єкту (ділянки, титулу) (tiff [3])'), | ||
| 57 | + ]); | ||
| 58 | + $this->addCommentOnTable('contractor', 'Облікова відомість підрядників з експлуатаційного утримання'); | ||
| 59 | + | ||
| 60 | + // Table 5.4 | ||
| 61 | + $this->createTable('digital_model', [ | ||
| 62 | + 'digital_model_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | ||
| 63 | + 'cross_profile_number' => $this->integer()->comment('Номер поперечного профілю'), | ||
| 64 | + 'road_name' => $this->string()->comment('Назва автомобільної дороги або під\'їзду (обходу, транспортної розв\'язки) в складі титулу (згідно з [5])'), | ||
| 65 | + 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), | ||
| 66 | + 'cross_profile_position' => $this->string()->comment('Положення поперечного профілю (псевдогеодані)'), | ||
| 67 | + 'right_coords' => $this->string()->comment('Координати вісі правого проїзду в прямому напрямку руху (згідно 6.2.2 СОУ 42.1-37641918-122; геодані з двома цифрами після коми)'), | ||
| 68 | + 'land_mark' => $this->string()->comment('Відмітка землі під віссю правого проїзду в прямому напрямку руху (геодані з двома цифрами після коми)'), | ||
| 69 | + 'bearing_coords' => $this->string()->comment('Координати опорних точок (геодані з двома цифрами після коми)'), | ||
| 70 | + ]); | ||
| 71 | + $this->addCommentOnTable('digital_model', 'Дані про цифрову модель автомобільної дороги та рельєф навколишньої місцевості'); | ||
| 72 | + | ||
| 73 | + // Table 5.6 | ||
| 74 | + $this->createTable('row', [ | ||
| 75 | + 'row_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | ||
| 76 | + 'road_name' => $this->string()->comment('Назва автомобільної дороги або під\'їзду (обходу, транспортної розв\'язки) в складі титулу (згідно з [5])'), | ||
| 77 | + 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), | ||
| 78 | + 'begin' => $this->string()->comment('Початок (псевдогеодані)'), | ||
| 79 | + 'end' => $this->string()->comment('Кінець (псевдогеодані)'), | ||
| 80 | + 'length' => $this->float()->comment('Довжина (у метрах)'), | ||
| 81 | + 'land_cadastral_number' => $this->text()->comment('Кадастровий номер земельної ділянки'), | ||
| 82 | + 'area' => $this->float()->comment('Площа земельної ділянки (у квадратних метрах; з двома цифрами після коми)'), | ||
| 83 | + 'cost_standard' => $this->float()->comment('Нормативна грошова оцінка земельної ділянки (тис.грн)'), | ||
| 84 | + 'cost_yearly' => $this->float()->comment('Щорічні витрати на право землекористування (тис.грн)'), | ||
| 85 | + 'cost_balance' => $this->float()->comment('Балансова вартість земельної ділянки (тис.грн)'), | ||
| 86 | + 'outline_coords' => $this->string()->comment('Координати контуру (геодані)'), | ||
| 87 | + ]); | ||
| 88 | + $this->addCommentOnTable('row', 'Дані про смугу відведення'); | ||
| 89 | + | ||
| 90 | + // Table 5.7 | ||
| 91 | + $this->createTable('roadway', [ | ||
| 92 | + 'roadway_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | ||
| 93 | + 'road_name' => $this->string()->comment('Назва автомобільної дороги або під\'їзду (обходу, транспортної розв\'язки) в складі титулу (згідно з [5])'), | ||
| 94 | + 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), | ||
| 95 | + 'cross_profile_position' => $this->string()->comment('Положення поперечного профілю (псевдогеодані)'), | ||
| 96 | + 'road_category_id' => $this->integer()->comment('Категорія дороги (ДБН В.2.3-4, [4])'), | ||
| 97 | + 'lane_width_standard' => $this->float()->comment('Нормативна ширина смуги руху (згідно табл. 5.1 ДБН В.2.3-4)'), | ||
| 98 | + 'lane_count_forward' => $this->integer()->comment('Кількість смуг руху в прямому напрямку руху'), | ||
| 99 | + 'lane_count_back' => $this->integer()->comment('Кількість смуг руху в зворотному напрямку руху'), | ||
| 100 | + 'slope_cross_left' => $this->integer()->comment('Поперечний похил ліворуч'), | ||
| 101 | + 'slope_cross_right' => $this->integer()->comment('Поперечний похил праворуч'), | ||
| 102 | + 'surface_width_total' => $this->float()->comment('Загальна ширина покриття (у метрах; розраховується автоматично на підставі даних згідно табл. 5.4)'), | ||
| 103 | + 'surface_area' => $this->float()->comment('Площа покриття (у квадратних метрах; розраховується автоматично на підставі даних згідно табл. 5.4)'), | ||
| 104 | + 'roadside_fortified_width_left' => $this->float()->comment('Ширина укріпленої смуги узбіччя ліворуч (у метрах; з двома цифрами після коми ; розраховується автоматично на підставі даних згідно табл. 5.4)'), | ||
| 105 | + 'pocket_width_left' => $this->float()->comment('Ширина заїзної кишені ліворуч (у метрах; з двома цифрами після коми ; розраховується автоматично на підставі даних згідно табл. 5.4)'), | ||
| 106 | + 'border_height_left' => $this->float()->comment('Висота бордюру ліворуч (у метрах; з двома цифрами після коми ; розраховується автоматично на підставі даних згідно табл. 5.4)'), | ||
| 107 | + 'speed_lane_outer_width_left' => $this->float()->comment('Ширина зовнішньої ПШС ліворуч (у метрах; з двома цифрами після коми ; розраховується автоматично на підставі даних згідно табл. 5.4)'), | ||
| 108 | + 'main_lane_width_left' => $this->float()->comment('Ширина основних смуг руху ліворуч (у метрах; з двома цифрами після коми ; розраховується автоматично на підставі даних згідно табл. 5.4)'), | ||
| 109 | + 'speed_lane_inner_width_left' => $this->float()->comment('Ширина внутрішньої ПШС ліворуч (у метрах; з двома цифрами після коми ; розраховується автоматично на підставі даних згідно табл. 5.4)'), | ||
| 110 | + 'divide_lane_fortified_width_left' => $this->float()->comment('Ширина укріпленої смуги розділювальної смуги ліворуч (у метрах; з двома цифрами після коми ; розраховується автоматично на підставі даних згідно табл. 5.4)'), | ||
| 111 | + 'divide_lane_border_height_left' => $this->float()->comment('Висота бордюру розділювальної смуги ліворуч (у метрах; з двома цифрами після коми ; розраховується автоматично на підставі даних згідно табл. 5.4)'), | ||
| 112 | + 'divide_lane_roadside_width_left' => $this->float()->comment('Ширина узбіччя розділювальної смуги ліворуч (у метрах; з двома цифрами після коми ; розраховується автоматично на підставі даних згідно табл. 5.4)'), | ||
| 113 | + 'divide_lane_up_width' => $this->float()->comment('Ширина розділювальної смуги по верху (у метрах; з двома цифрами після коми ; розраховується автоматично на підставі даних згідно табл. 5.4)'), | ||
| 114 | + 'divide_lane_bottom_width' => $this->float()->comment('Ширина розділювальної смуги по низу (у метрах; з двома цифрами після коми ; розраховується автоматично на підставі даних згідно табл. 5.4)'), | ||
| 115 | + 'divide_lane_depth' => $this->float()->comment('Глибина розділювальної смуги (у метрах; з двома цифрами після коми ; розраховується автоматично на підставі даних згідно табл. 5.4)'), | ||
| 116 | + 'divide_lane_border_height_right' => $this->float()->comment('Висота бордюру розділювальної смуги праворуч (у метрах; з двома цифрами після коми ; розраховується автоматично на підставі даних згідно табл. 5.4)'), | ||
| 117 | + 'divide_lane_roadside_width_right' => $this->float()->comment('Ширина узбіччя розділювальної смуги праворуч (у метрах; з двома цифрами після коми ; розраховується автоматично на підставі даних згідно табл. 5.4)'), | ||
| 118 | + 'divide_lane_fortified_width_right' => $this->float()->comment('Ширина укріпленої смуги розділювальної смуги праворуч (у метрах; з двома цифрами після коми ; розраховується автоматично на підставі даних згідно табл. 5.4)'), | ||
| 119 | + 'speed_lane_inner_width_right' => $this->float()->comment('Ширина внутрішньої ПШС праворуч (у метрах; з двома цифрами після коми ; розраховується автоматично на підставі даних згідно табл. 5.4)'), | ||
| 120 | + 'main_lane_width_right' => $this->float()->comment('Ширина основних смуг руху праворуч (у метрах; з двома цифрами після коми ; розраховується автоматично на підставі даних згідно табл. 5.4)'), | ||
| 121 | + 'speed_lane_outer_width_right' => $this->float()->comment('Ширина зовнішньої ПШС праворуч (у метрах; з двома цифрами після коми ; розраховується автоматично на підставі даних згідно табл. 5.4)'), | ||
| 122 | + 'roadside_fortified_width_right' => $this->float()->comment('Ширина укріпленої смуги узбіччя праворуч (у метрах; з двома цифрами після коми ; розраховується автоматично на підставі даних згідно табл. 5.4)'), | ||
| 123 | + 'pocket_width_right' => $this->float()->comment('Ширина заїзної кишені праворуч (у метрах; з двома цифрами після коми ; розраховується автоматично на підставі даних згідно табл. 5.4)'), | ||
| 124 | + 'border_height_right' => $this->float()->comment('Висота бордюру праворуч (у метрах; з двома цифрами після коми ; розраховується автоматично на підставі даних згідно табл. 5.4)'), | ||
| 125 | + ]); | ||
| 126 | + $this->addCommentOnTable('roadway', 'Дані про проїзну частину'); | ||
| 127 | + | ||
| 128 | + // Table 5.8 | ||
| 129 | + $this->createTable('horizontal_curve_radius', [ | ||
| 130 | + 'horizontal_curve_radius_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | ||
| 131 | + 'road_name' => $this->string()->comment('Назва автомобільної дороги або під\'їзду (обходу, транспортної розв\'язки) в складі титулу (згідно з [5])'), | ||
| 132 | + 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), | ||
| 133 | + 'begin' => $this->string()->comment('Початок кривої (псевдогеодані)'), | ||
| 134 | + 'end' => $this->string()->comment('Кінець кривої (псевдогеодані)'), | ||
| 135 | + 'begin_x' => $this->float()->comment('Координата Х початку кривої'), | ||
| 136 | + 'begin_y' => $this->float()->comment('Координата Y початку кривої'), | ||
| 137 | + 'end_x' => $this->float()->comment('Координата Х кінця кривої'), | ||
| 138 | + 'end_y' => $this->float()->comment('Координата Y кінця кривої'), | ||
| 139 | + 'radius' => $this->integer()->comment('Радіус (у метрах)'), | ||
| 140 | + 'angle' => $this->float()->comment('Кут (в градусах; з двома цифрами після коми)'), | ||
| 141 | + 'curve_direction' => $this->string()->comment('Напрямок кривої'), | ||
| 142 | + 'move_direction' => $this->string()->comment('Напрямок руху'), | ||
| 143 | + ]); | ||
| 144 | + $this->addCommentOnTable('horizontal_curve_radius', 'Дані про радіуси горизонтальних кривих'); | ||
| 145 | + | ||
| 9 | // Table 5.9 | 146 | // Table 5.9 |
| 10 | $this->createTable('road_surface', [ | 147 | $this->createTable('road_surface', [ |
| 11 | 'road_surface_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | 148 | 'road_surface_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), |
| 12 | - 'road_name' => $this->string()->comment('Назва автомобільної дороги або під\'їзду (обходу, транспортної розв\'язки) в складі титулу (згідно з [5])'), | 149 | + 'road_id' => $this->integer()->comment('Назва автомобільної дороги або під\'їзду (обходу, транспортної розв\'язки) в складі титулу (згідно з [5])'), |
| 150 | + 'region_id' => $this->integer()->comment('Область'), | ||
| 151 | + 'road_direction_id' => $this->integer()->comment('Напрямок смуги руху'), | ||
| 152 | + 'surface_type_id' => $this->integer()->comment('Тип покриття'), | ||
| 153 | + 'surface_treatment_id' => $this->integer()->comment('Тип поверхневої обробки'), | ||
| 154 | + 'state_common_id' => $this->integer()->comment('Стан покриття'), | ||
| 13 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), | 155 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), |
| 14 | - 'begin_section' => $this->string()->comment('Початок ділянки (псевдогеодані)'), | ||
| 15 | - 'end_section' => $this->string()->comment('Кінець ділянки (псевдогеодані)'), | 156 | + 'begin' => $this->float()->comment('Початок ділянки (псевдогеодані)'), |
| 157 | + 'end' => $this->float()->comment('Кінець ділянки (псевдогеодані)'), | ||
| 16 | 'lane_count_left' => $this->integer()->comment('Кількість смуг руху ліворуч'), | 158 | 'lane_count_left' => $this->integer()->comment('Кількість смуг руху ліворуч'), |
| 17 | 'lane_count_right' => $this->integer()->comment('Кількість смуг руху праворуч'), | 159 | 'lane_count_right' => $this->integer()->comment('Кількість смуг руху праворуч'), |
| 18 | - 'road_surface_construction' => $this->string()->comment('Конструкція дорожнього одягу (окрема облікова картка; табл. 5.10)'), | ||
| 19 | - 'elastisity_module' => $this->decimal()->comment('Фактичний модуль пружності (згідно з [9]; з двома цифрами після коми)'), | 160 | + 'road_surface_construction_id' => $this->string()->comment('Конструкція дорожнього одягу (окрема облікова картка; табл. 5.10)'), |
| 161 | + 'elastisity_module' => $this->float()->comment('Фактичний модуль пружності (згідно з [9]; з двома цифрами після коми)'), | ||
| 20 | ]); | 162 | ]); |
| 21 | $this->addCommentOnTable('road_surface', 'Дані про дорожній одяг'); | 163 | $this->addCommentOnTable('road_surface', 'Дані про дорожній одяг'); |
| 22 | 164 | ||
| @@ -25,13 +167,13 @@ class m160609_074818_tables extends Migration | @@ -25,13 +167,13 @@ class m160609_074818_tables extends Migration | ||
| 25 | 'structural_layers_id' => $this->primaryKey()->comment('згідно з [4]'), | 167 | 'structural_layers_id' => $this->primaryKey()->comment('згідно з [4]'), |
| 26 | 'layer_number' => $this->integer()->comment('Номер шару'), | 168 | 'layer_number' => $this->integer()->comment('Номер шару'), |
| 27 | 'material_code' => $this->integer()->comment('Код матеріалу (згідно з [4])'), | 169 | 'material_code' => $this->integer()->comment('Код матеріалу (згідно з [4])'), |
| 28 | - 'layer_width' => $this->decimal()->comment('Товщина шару (в сантиметрах)'), | ||
| 29 | - 'strength_coef' => $this->decimal()->comment('Коефіцієнт впливу міцності складових шару К МЦ (згідно з [17]; з двома цифрами після коми)'), | ||
| 30 | - 'viscosity_coef' => $this->decimal()->comment('Коефіцієнт впливу в\'яжучого К В (згідно з [17]; з двома цифрами після коми)'), | ||
| 31 | - 'technology_coef' => $this->decimal()->comment('Коефіцієнт впливу якості технології К Т (згідно з [17]; з двома цифрами після коми)'), | ||
| 32 | - 'conditions_coef' => $this->decimal()->comment('Коефіцієнт впливу умов служби К С (згідно з [17]; з двома цифрами після коми)'), | 170 | + 'layer_width' => $this->float()->comment('Товщина шару (в сантиметрах)'), |
| 171 | + 'strength_coef' => $this->float()->comment('Коефіцієнт впливу міцності складових шару К МЦ (згідно з [17]; з двома цифрами після коми)'), | ||
| 172 | + 'viscosity_coef' => $this->float()->comment('Коефіцієнт впливу в\'яжучого К В (згідно з [17]; з двома цифрами після коми)'), | ||
| 173 | + 'technology_coef' => $this->float()->comment('Коефіцієнт впливу якості технології К Т (згідно з [17]; з двома цифрами після коми)'), | ||
| 174 | + 'conditions_coef' => $this->float()->comment('Коефіцієнт впливу умов служби К С (згідно з [17]; з двома цифрами після коми)'), | ||
| 33 | 'land_soil' => $this->string()->comment('Ґрунт земляного полотна (згідно з [4])'), | 175 | 'land_soil' => $this->string()->comment('Ґрунт земляного полотна (згідно з [4])'), |
| 34 | - 'elastisity_module' => $this->decimal()->comment('Модуль пружності (згідно з [9]; з двома цифрами після коми)'), | 176 | + 'elastisity_module' => $this->float()->comment('Модуль пружності (згідно з [9]; з двома цифрами після коми)'), |
| 35 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 177 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 36 | ]); | 178 | ]); |
| 37 | $this->addCommentOnTable('structural_layers', 'Дані про конструктивні шари дорожнього одягу'); | 179 | $this->addCommentOnTable('structural_layers', 'Дані про конструктивні шари дорожнього одягу'); |
| @@ -45,9 +187,9 @@ class m160609_074818_tables extends Migration | @@ -45,9 +187,9 @@ class m160609_074818_tables extends Migration | ||
| 45 | 'end_section' => $this->string()->comment('Кінець ділянки (псевдогеодані)'), | 187 | 'end_section' => $this->string()->comment('Кінець ділянки (псевдогеодані)'), |
| 46 | 'lane_count_left' => $this->integer()->comment('Кількість смуг руху ліворуч'), | 188 | 'lane_count_left' => $this->integer()->comment('Кількість смуг руху ліворуч'), |
| 47 | 'lane_count_right' => $this->integer()->comment('Кількість смуг руху праворуч'), | 189 | 'lane_count_right' => $this->integer()->comment('Кількість смуг руху праворуч'), |
| 48 | - 'elastisity_module' => $this->decimal()->comment('Фактичний модуль пружності (згідно з [9]; з двома цифрами після коми)'), | ||
| 49 | - 'elastisity_module_calc' => $this->decimal()->comment('Розрахунковий модуль пружності (згідно з [9]; з двома цифрами після коми)'), | ||
| 50 | - 'safety_margin_coef' => $this->decimal()->comment('Коефіцієнт запасу міцності (згідно з [9]; з двома цифрами після коми)'), | 190 | + 'elastisity_module' => $this->float()->comment('Фактичний модуль пружності (згідно з [9]; з двома цифрами після коми)'), |
| 191 | + 'elastisity_module_calc' => $this->float()->comment('Розрахунковий модуль пружності (згідно з [9]; з двома цифрами після коми)'), | ||
| 192 | + 'safety_margin_coef' => $this->float()->comment('Коефіцієнт запасу міцності (згідно з [9]; з двома цифрами після коми)'), | ||
| 51 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 193 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 52 | ]); | 194 | ]); |
| 53 | $this->addCommentOnTable('road_surface_strenght', 'Дані про міцність дорожнього одягу'); | 195 | $this->addCommentOnTable('road_surface_strenght', 'Дані про міцність дорожнього одягу'); |
| @@ -61,8 +203,8 @@ class m160609_074818_tables extends Migration | @@ -61,8 +203,8 @@ class m160609_074818_tables extends Migration | ||
| 61 | 'end_section' => $this->string()->comment('Кінець ділянки (псевдогеодані)'), | 203 | 'end_section' => $this->string()->comment('Кінець ділянки (псевдогеодані)'), |
| 62 | 'lane_count_left' => $this->integer()->comment('Кількість смуг руху ліворуч'), | 204 | 'lane_count_left' => $this->integer()->comment('Кількість смуг руху ліворуч'), |
| 63 | 'lane_count_right' => $this->integer()->comment('Кількість смуг руху праворуч'), | 205 | 'lane_count_right' => $this->integer()->comment('Кількість смуг руху праворуч'), |
| 64 | - 'forward_lanes_iri' => $this->decimal()->comment('Показник IRI смуг прямого напрямку руху (згідно з [9]; з двома цифрами після коми)'), | ||
| 65 | - 'back_lanes_iri' => $this->decimal()->comment('Показник IRI смуг зворотного напрямку руху (згідно з [9]; з двома цифрами після коми)'), | 206 | + 'forward_lanes_iri' => $this->float()->comment('Показник IRI смуг прямого напрямку руху (згідно з [9]; з двома цифрами після коми)'), |
| 207 | + 'back_lanes_iri' => $this->float()->comment('Показник IRI смуг зворотного напрямку руху (згідно з [9]; з двома цифрами після коми)'), | ||
| 66 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 208 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 67 | ]); | 209 | ]); |
| 68 | $this->addCommentOnTable('road_surface_flatness', 'Дані про рівність покриття'); | 210 | $this->addCommentOnTable('road_surface_flatness', 'Дані про рівність покриття'); |
| @@ -76,13 +218,13 @@ class m160609_074818_tables extends Migration | @@ -76,13 +218,13 @@ class m160609_074818_tables extends Migration | ||
| 76 | 'end_section' => $this->string()->comment('Кінець ділянки (псевдогеодані)'), | 218 | 'end_section' => $this->string()->comment('Кінець ділянки (псевдогеодані)'), |
| 77 | 'lane_count_left' => $this->integer()->comment('Кількість смуг руху ліворуч'), | 219 | 'lane_count_left' => $this->integer()->comment('Кількість смуг руху ліворуч'), |
| 78 | 'lane_count_right' => $this->integer()->comment('Кількість смуг руху праворуч'), | 220 | 'lane_count_right' => $this->integer()->comment('Кількість смуг руху праворуч'), |
| 79 | - 'forward_lanes_hollow' => $this->decimal()->comment('Середня величина заглиблень шорсткості (h свр )смуг прямого напрямку руху (згідно з [18]; з двома цифрами після коми)'), | ||
| 80 | - 'forward_lanes_density' => $this->decimal()->comment('Середня щільність виступів шорсткості (і n ) смуг прямого напрямку руху (згідно з [18]; з двома цифрами після коми)'), | ||
| 81 | - 'forward_lanes_ledge' => $this->decimal()->comment('Середній радіус виступів шорсткості (R свр ) смуг прямого напрямку руху (згідно з [18]; з двома цифрами після коми)'), | ||
| 82 | - 'back_lanes_hollow' => $this->decimal()->comment('Середня величина заглиблень шорсткості (h свр )смуг зворотнього напрямку руху (згідно з [18]; з двома цифрами після коми)'), | ||
| 83 | - 'back_lanes_density' => $this->decimal()->comment('Середня щільність виступів шорсткості (і n ) смуг зворотнього напрямку руху (згідно з [18]; з двома цифрами після коми)'), | ||
| 84 | - 'back_lanes_ledge' => $this->decimal()->comment('Середній радіус виступів шорсткості (R свр ) смуг зворотнього напрямку руху (згідно з [18]; з двома цифрами після коми)'), | ||
| 85 | - 'clutch_coef' => $this->decimal()->comment('Фактичне значення коефіцієнта зчеплення (згідно з [18]; з двома цифрами після коми)'), | 221 | + 'forward_lanes_hollow' => $this->float()->comment('Середня величина заглиблень шорсткості (h свр )смуг прямого напрямку руху (згідно з [18]; з двома цифрами після коми)'), |
| 222 | + 'forward_lanes_density' => $this->float()->comment('Середня щільність виступів шорсткості (і n ) смуг прямого напрямку руху (згідно з [18]; з двома цифрами після коми)'), | ||
| 223 | + 'forward_lanes_ledge' => $this->float()->comment('Середній радіус виступів шорсткості (R свр ) смуг прямого напрямку руху (згідно з [18]; з двома цифрами після коми)'), | ||
| 224 | + 'back_lanes_hollow' => $this->float()->comment('Середня величина заглиблень шорсткості (h свр )смуг зворотнього напрямку руху (згідно з [18]; з двома цифрами після коми)'), | ||
| 225 | + 'back_lanes_density' => $this->float()->comment('Середня щільність виступів шорсткості (і n ) смуг зворотнього напрямку руху (згідно з [18]; з двома цифрами після коми)'), | ||
| 226 | + 'back_lanes_ledge' => $this->float()->comment('Середній радіус виступів шорсткості (R свр ) смуг зворотнього напрямку руху (згідно з [18]; з двома цифрами після коми)'), | ||
| 227 | + 'clutch_coef' => $this->float()->comment('Фактичне значення коефіцієнта зчеплення (згідно з [18]; з двома цифрами після коми)'), | ||
| 86 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 228 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 87 | ]); | 229 | ]); |
| 88 | $this->addCommentOnTable('road_surface_clutch', 'Дані про зчіпні якості'); | 230 | $this->addCommentOnTable('road_surface_clutch', 'Дані про зчіпні якості'); |
| @@ -110,37 +252,37 @@ class m160609_074818_tables extends Migration | @@ -110,37 +252,37 @@ class m160609_074818_tables extends Migration | ||
| 110 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), | 252 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), |
| 111 | 'cross_profile_position' => $this->string()->comment('Положення поперечного профілю (псевдогеодані)'), | 253 | 'cross_profile_position' => $this->string()->comment('Положення поперечного профілю (псевдогеодані)'), |
| 112 | 'road_category_id' => $this->integer()->comment('Категорія дороги (згідно з [4])'), | 254 | 'road_category_id' => $this->integer()->comment('Категорія дороги (згідно з [4])'), |
| 113 | - 'mound_left' => $this->decimal()->comment('Насип (виїмка) ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 114 | - 'mound_right' => $this->decimal()->comment('Насип (виїмка) праворуч (у метрах; з двома цифрами після коми)'), | ||
| 115 | - 'mound_avarage_size' => $this->decimal()->comment('Середня величина насипу (виїмки) (у метрах; з двома цифрами після коми)'), | ||
| 116 | - 'berm_third_width_left' => $this->decimal()->comment('Ширина 3-ї берми ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 117 | - 'berm_third_height_left' => $this->decimal()->comment('Висота 3-ї берми ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 118 | - 'berm_third_slope_left' => $this->decimal()->comment('Закладання укосу 3-ї берми ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 119 | - 'berm_second_width_left' => $this->decimal()->comment('Ширина 2-ї берми ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 120 | - 'berm_second_height_left' => $this->decimal()->comment('Висота 2-ї берми ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 121 | - 'berm_second_slope_left' => $this->decimal()->comment('Закладання укосу 2-ї берми ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 122 | - 'berm_first_width_left' => $this->decimal()->comment('Ширина 1-ї берми ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 123 | - 'berm_first_height_left' => $this->decimal()->comment('Висота 1-ї берми ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 124 | - 'berm_first_slope_left' => $this->decimal()->comment('Закладання укосу 1-ї берми ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 125 | - 'ditch_top_width_left' => $this->decimal()->comment('Ширина по верху кювету (кювету-резерву) ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 126 | - 'ditch_bottom_width_left' => $this->decimal()->comment('Ширина по низу кювету (кювету-резерву) ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 127 | - 'ditch_depth_left' => $this->decimal()->comment('Глибина кювету (кювету-резерву) ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 128 | - 'roadside_width_left' => $this->decimal()->comment('Ширина узбіччя ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 129 | - 'roadside_width_right' => $this->decimal()->comment('Ширина узбіччя праворуч (у метрах; з двома цифрами після коми)'), | ||
| 130 | - 'ditch_top_width_right' => $this->decimal()->comment('Ширина по верху кювету (кювету-резерву) праворуч (у метрах; з двома цифрами після коми)'), | ||
| 131 | - 'ditch_bottom_width_right' => $this->decimal()->comment('Ширина по низу кювету (кювету-резерву) праворуч (у метрах; з двома цифрами після коми)'), | ||
| 132 | - 'ditch_depth_right' => $this->decimal()->comment('Глибина кювету (кювету-резерву) праворуч (у метрах; з двома цифрами після коми)'), | ||
| 133 | - 'berm_third_width_right' => $this->decimal()->comment('Ширина 3-ї берми праворуч (у метрах; з двома цифрами після коми)'), | ||
| 134 | - 'berm_third_height_right' => $this->decimal()->comment('Висота 3-ї берми праворуч (у метрах; з двома цифрами після коми)'), | ||
| 135 | - 'berm_third_slope_right' => $this->decimal()->comment('Закладання укосу 3-ї берми праворуч (у метрах; з двома цифрами після коми)'), | ||
| 136 | - 'berm_second_width_right' => $this->decimal()->comment('Ширина 2-ї берми праворуч (у метрах; з двома цифрами після коми)'), | ||
| 137 | - 'berm_second_height_right' => $this->decimal()->comment('Висота 2-ї берми праворуч (у метрах; з двома цифрами після коми)'), | ||
| 138 | - 'berm_second_slope_right' => $this->decimal()->comment('Закладання укосу 2-ї берми праворуч (у метрах; з двома цифрами після коми)'), | ||
| 139 | - 'berm_first_width_right' => $this->decimal()->comment('Ширина 1-ї берми праворуч (у метрах; з двома цифрами після коми)'), | ||
| 140 | - 'berm_first_height_right' => $this->decimal()->comment('Висота 1-ї берми праворуч (у метрах; з двома цифрами після коми)'), | ||
| 141 | - 'berm_first_slope_right' => $this->decimal()->comment('Закладання укосу 1-ї берми праворуч (у метрах; з двома цифрами після коми)'), | ||
| 142 | - 'road_surface_width' => $this->decimal()->comment('Ширина земляного полотна поверху (у метрах; з двома цифрами після коми)'), | ||
| 143 | - 'road_surface_capacity' => $this->decimal()->comment('Об\'єм земляного полотна (у кубічних метрах; з двома цифрами після коми)'), | 255 | + 'mound_left' => $this->float()->comment('Насип (виїмка) ліворуч (у метрах; з двома цифрами після коми)'), |
| 256 | + 'mound_right' => $this->float()->comment('Насип (виїмка) праворуч (у метрах; з двома цифрами після коми)'), | ||
| 257 | + 'mound_avarage_size' => $this->float()->comment('Середня величина насипу (виїмки) (у метрах; з двома цифрами після коми)'), | ||
| 258 | + 'berm_third_width_left' => $this->float()->comment('Ширина 3-ї берми ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 259 | + 'berm_third_height_left' => $this->float()->comment('Висота 3-ї берми ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 260 | + 'berm_third_slope_left' => $this->float()->comment('Закладання укосу 3-ї берми ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 261 | + 'berm_second_width_left' => $this->float()->comment('Ширина 2-ї берми ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 262 | + 'berm_second_height_left' => $this->float()->comment('Висота 2-ї берми ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 263 | + 'berm_second_slope_left' => $this->float()->comment('Закладання укосу 2-ї берми ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 264 | + 'berm_first_width_left' => $this->float()->comment('Ширина 1-ї берми ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 265 | + 'berm_first_height_left' => $this->float()->comment('Висота 1-ї берми ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 266 | + 'berm_first_slope_left' => $this->float()->comment('Закладання укосу 1-ї берми ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 267 | + 'ditch_top_width_left' => $this->float()->comment('Ширина по верху кювету (кювету-резерву) ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 268 | + 'ditch_bottom_width_left' => $this->float()->comment('Ширина по низу кювету (кювету-резерву) ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 269 | + 'ditch_depth_left' => $this->float()->comment('Глибина кювету (кювету-резерву) ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 270 | + 'roadside_width_left' => $this->float()->comment('Ширина узбіччя ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 271 | + 'roadside_width_right' => $this->float()->comment('Ширина узбіччя праворуч (у метрах; з двома цифрами після коми)'), | ||
| 272 | + 'ditch_top_width_right' => $this->float()->comment('Ширина по верху кювету (кювету-резерву) праворуч (у метрах; з двома цифрами після коми)'), | ||
| 273 | + 'ditch_bottom_width_right' => $this->float()->comment('Ширина по низу кювету (кювету-резерву) праворуч (у метрах; з двома цифрами після коми)'), | ||
| 274 | + 'ditch_depth_right' => $this->float()->comment('Глибина кювету (кювету-резерву) праворуч (у метрах; з двома цифрами після коми)'), | ||
| 275 | + 'berm_third_width_right' => $this->float()->comment('Ширина 3-ї берми праворуч (у метрах; з двома цифрами після коми)'), | ||
| 276 | + 'berm_third_height_right' => $this->float()->comment('Висота 3-ї берми праворуч (у метрах; з двома цифрами після коми)'), | ||
| 277 | + 'berm_third_slope_right' => $this->float()->comment('Закладання укосу 3-ї берми праворуч (у метрах; з двома цифрами після коми)'), | ||
| 278 | + 'berm_second_width_right' => $this->float()->comment('Ширина 2-ї берми праворуч (у метрах; з двома цифрами після коми)'), | ||
| 279 | + 'berm_second_height_right' => $this->float()->comment('Висота 2-ї берми праворуч (у метрах; з двома цифрами після коми)'), | ||
| 280 | + 'berm_second_slope_right' => $this->float()->comment('Закладання укосу 2-ї берми праворуч (у метрах; з двома цифрами після коми)'), | ||
| 281 | + 'berm_first_width_right' => $this->float()->comment('Ширина 1-ї берми праворуч (у метрах; з двома цифрами після коми)'), | ||
| 282 | + 'berm_first_height_right' => $this->float()->comment('Висота 1-ї берми праворуч (у метрах; з двома цифрами після коми)'), | ||
| 283 | + 'berm_first_slope_right' => $this->float()->comment('Закладання укосу 1-ї берми праворуч (у метрах; з двома цифрами після коми)'), | ||
| 284 | + 'road_surface_width' => $this->float()->comment('Ширина земляного полотна поверху (у метрах; з двома цифрами після коми)'), | ||
| 285 | + 'road_surface_capacity' => $this->float()->comment('Об\'єм земляного полотна (у кубічних метрах; з двома цифрами після коми)'), | ||
| 144 | 'land_soil' => $this->string()->comment('Ґрунт земляного полотна (згідно з [4])'), | 286 | 'land_soil' => $this->string()->comment('Ґрунт земляного полотна (згідно з [4])'), |
| 145 | ]); | 287 | ]); |
| 146 | $this->addCommentOnTable('roadbed_size', 'Дані про геометричні розміри земляного полотна'); | 288 | $this->addCommentOnTable('roadbed_size', 'Дані про геометричні розміри земляного полотна'); |
| @@ -153,10 +295,10 @@ class m160609_074818_tables extends Migration | @@ -153,10 +295,10 @@ class m160609_074818_tables extends Migration | ||
| 153 | 'position' => $this->string()->comment('Положення (псевдогеодані)'), | 295 | 'position' => $this->string()->comment('Положення (псевдогеодані)'), |
| 154 | 'position_according_road' => $this->text()->comment('Розташування відносно дороги (текст)'), | 296 | 'position_according_road' => $this->text()->comment('Розташування відносно дороги (текст)'), |
| 155 | 'direction' => $this->text()->comment('Напрямок (текст)'), | 297 | 'direction' => $this->text()->comment('Напрямок (текст)'), |
| 156 | - 'fortified_length' => $this->decimal()->comment('Довжина укріплення (у метрах; з двома цифрами після коми)'), | 298 | + 'fortified_length' => $this->float()->comment('Довжина укріплення (у метрах; з двома цифрами після коми)'), |
| 157 | 'layer_material_top_id' => $this->integer()->comment('Матеріал верхнього шару покриття (згідно табл. 8.1 ДБН В.2.3-4)'), | 299 | 'layer_material_top_id' => $this->integer()->comment('Матеріал верхнього шару покриття (згідно табл. 8.1 ДБН В.2.3-4)'), |
| 158 | - 'surface_area' => $this->decimal()->comment('Площа покриття (у квадратних метрах; з двома цифрами після коми)'), | ||
| 159 | - 'road_surface_capacity' => $this->decimal()->comment('Об\'єм земляного полотна (у кубічних метрах; з двома цифрами після коми)'), | 300 | + 'surface_area' => $this->float()->comment('Площа покриття (у квадратних метрах; з двома цифрами після коми)'), |
| 301 | + 'road_surface_capacity' => $this->float()->comment('Об\'єм земляного полотна (у кубічних метрах; з двома цифрами після коми)'), | ||
| 160 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), | 302 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), |
| 161 | 'rally_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.17)'), | 303 | 'rally_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.17)'), |
| 162 | ]); | 304 | ]); |
| @@ -170,19 +312,19 @@ class m160609_074818_tables extends Migration | @@ -170,19 +312,19 @@ class m160609_074818_tables extends Migration | ||
| 170 | 'position' => $this->string()->comment('Положення (псевдогеодані)'), | 312 | 'position' => $this->string()->comment('Положення (псевдогеодані)'), |
| 171 | 'position_according_road' => $this->text()->comment('Розташування відносно дороги (текст)'), | 313 | 'position_according_road' => $this->text()->comment('Розташування відносно дороги (текст)'), |
| 172 | 'direction' => $this->text()->comment('Напрямок (текст)'), | 314 | 'direction' => $this->text()->comment('Напрямок (текст)'), |
| 173 | - 'junction_angle' => $this->decimal()->comment('Кут примикання (в градусах; з двома цифрами після коми)'), | ||
| 174 | - 'junction_rally_radius' => $this->decimal()->comment('Радіус спряження з\'їзду (у метрах; з двома цифрами після коми)'), | ||
| 175 | - 'junction_exit_radius' => $this->decimal()->comment('Радіус спряження виїзду (у метрах; з двома цифрами після коми)'), | ||
| 176 | - 'fortified_length' => $this->decimal()->comment('Довжина укріплення (у метрах; з двома цифрами після коми)'), | 315 | + 'junction_angle' => $this->float()->comment('Кут примикання (в градусах; з двома цифрами після коми)'), |
| 316 | + 'junction_rally_radius' => $this->float()->comment('Радіус спряження з\'їзду (у метрах; з двома цифрами після коми)'), | ||
| 317 | + 'junction_exit_radius' => $this->float()->comment('Радіус спряження виїзду (у метрах; з двома цифрами після коми)'), | ||
| 318 | + 'fortified_length' => $this->float()->comment('Довжина укріплення (у метрах; з двома цифрами після коми)'), | ||
| 177 | 'layer_material_top_id' => $this->integer()->comment('Матеріал верхнього шару покриття (згідно табл. 8.1 ДБН В.2.3-4)'), | 319 | 'layer_material_top_id' => $this->integer()->comment('Матеріал верхнього шару покриття (згідно табл. 8.1 ДБН В.2.3-4)'), |
| 178 | - 'mound_rally_begin' => $this->decimal()->comment('Насип (виїмка) на початку з\'їзду або виїзду (у метрах; з двома цифрами після коми)'), | ||
| 179 | - 'mound_rally_end' => $this->decimal()->comment('Насип (виїмка) в кінці з\'їзду або виїзду (у метрах; з двома цифрами після коми)'), | ||
| 180 | - 'surface_area' => $this->decimal()->comment('Площа покриття (у квадратних метрах; з двома цифрами після коми)'), | ||
| 181 | - 'road_surface_capacity' => $this->decimal()->comment('Об\'єм земляного полотна (у кубічних метрах; з двома цифрами після коми)'), | ||
| 182 | - 'vector_direction_x1' => $this->decimal()->comment('Координата х 1 вектору напрямку з’їзду або виїзду (з двома цифрами після коми)'), | ||
| 183 | - 'vector_direction_x2' => $this->decimal()->comment('Координата х 2 вектору напрямку з’їзду або виїзду (з двома цифрами після коми)'), | ||
| 184 | - 'vector_direction_y1' => $this->decimal()->comment('Координата y 1 вектору напрямку з’їзду або виїзду (з двома цифрами після коми)'), | ||
| 185 | - 'vector_direction_y2' => $this->decimal()->comment('Координата y 2 вектору напрямку з’їзду або виїзду (з двома цифрами після коми)'), | 320 | + 'mound_rally_begin' => $this->float()->comment('Насип (виїмка) на початку з\'їзду або виїзду (у метрах; з двома цифрами після коми)'), |
| 321 | + 'mound_rally_end' => $this->float()->comment('Насип (виїмка) в кінці з\'їзду або виїзду (у метрах; з двома цифрами після коми)'), | ||
| 322 | + 'surface_area' => $this->float()->comment('Площа покриття (у квадратних метрах; з двома цифрами після коми)'), | ||
| 323 | + 'road_surface_capacity' => $this->float()->comment('Об\'єм земляного полотна (у кубічних метрах; з двома цифрами після коми)'), | ||
| 324 | + 'vector_direction_x1' => $this->float()->comment('Координата х 1 вектору напрямку з’їзду або виїзду (з двома цифрами після коми)'), | ||
| 325 | + 'vector_direction_x2' => $this->float()->comment('Координата х 2 вектору напрямку з’їзду або виїзду (з двома цифрами після коми)'), | ||
| 326 | + 'vector_direction_y1' => $this->float()->comment('Координата y 1 вектору напрямку з’їзду або виїзду (з двома цифрами після коми)'), | ||
| 327 | + 'vector_direction_y2' => $this->float()->comment('Координата y 2 вектору напрямку з’їзду або виїзду (з двома цифрами після коми)'), | ||
| 186 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), | 328 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), |
| 187 | 'state_indicator' => $this->integer()->comment('Показник стану (табл. Б.2 СОУ 42.1-37641918-122)'), | 329 | 'state_indicator' => $this->integer()->comment('Показник стану (табл. Б.2 СОУ 42.1-37641918-122)'), |
| 188 | 'fortified_coords' => $this->string()->comment('Координати укріплення та/або покриття (геодані)'), | 330 | 'fortified_coords' => $this->string()->comment('Координати укріплення та/або покриття (геодані)'), |
| @@ -197,16 +339,16 @@ class m160609_074818_tables extends Migration | @@ -197,16 +339,16 @@ class m160609_074818_tables extends Migration | ||
| 197 | 'road_name' => $this->string()->comment('Назва автомобільної дороги або під\'їзду (обходу, транспортної розв\'язки) в складі титулу (згідно з [5])'), | 339 | 'road_name' => $this->string()->comment('Назва автомобільної дороги або під\'їзду (обходу, транспортної розв\'язки) в складі титулу (згідно з [5])'), |
| 198 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), | 340 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), |
| 199 | 'center_position' => $this->string()->comment('Положення середини тунелю (псевдогеодані)'), | 341 | 'center_position' => $this->string()->comment('Положення середини тунелю (псевдогеодані)'), |
| 200 | - 'construction_length' => $this->decimal()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), | ||
| 201 | - 'cross_scheme' => $this->decimal()->comment('Поперечна схема (у метрах; з двома цифрами після коми)'), | 342 | + 'construction_length' => $this->float()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), |
| 343 | + 'cross_scheme' => $this->float()->comment('Поперечна схема (у метрах; з двома цифрами після коми)'), | ||
| 202 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), | 344 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), |
| 203 | - 'height' => $this->decimal()->comment('Габарит по висоті (у метрах; з двома цифрами після коми)'), | ||
| 204 | - 'width' => $this->decimal()->comment('Габарит по ширині (у метрах; з двома цифрами після коми)'), | ||
| 205 | - 'sideway_width_left' => $this->decimal()->comment('Ширина тротуару ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 206 | - 'sideway_width_right' => $this->decimal()->comment('Ширина тротуару праворуч (у метрах; з двома цифрами після коми)'), | 345 | + 'height' => $this->float()->comment('Габарит по висоті (у метрах; з двома цифрами після коми)'), |
| 346 | + 'width' => $this->float()->comment('Габарит по ширині (у метрах; з двома цифрами після коми)'), | ||
| 347 | + 'sideway_width_left' => $this->float()->comment('Ширина тротуару ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 348 | + 'sideway_width_right' => $this->float()->comment('Ширина тротуару праворуч (у метрах; з двома цифрами після коми)'), | ||
| 207 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), | 349 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), |
| 208 | 'tunnel_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.19)'), | 350 | 'tunnel_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.19)'), |
| 209 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 351 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 210 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), | 352 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), |
| 211 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 353 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 212 | ]); | 354 | ]); |
| @@ -218,28 +360,28 @@ class m160609_074818_tables extends Migration | @@ -218,28 +360,28 @@ class m160609_074818_tables extends Migration | ||
| 218 | 'center_position' => $this->string()->comment('Положення середини споруди (псевдогеодані)'), | 360 | 'center_position' => $this->string()->comment('Положення середини споруди (псевдогеодані)'), |
| 219 | 'movement_direction' => $this->integer()->comment('Напрямок руху, що забезпечує споруда (згідно з [4])'), | 361 | 'movement_direction' => $this->integer()->comment('Напрямок руху, що забезпечує споруда (згідно з [4])'), |
| 220 | 'nearest_settlement_name' => $this->text()->comment('Назва найближчого населеного пункту'), | 362 | 'nearest_settlement_name' => $this->text()->comment('Назва найближчого населеного пункту'), |
| 221 | - 'nearest_settlement_distance' => $this->decimal()->comment('Відстань до найближчого населеного пункту (в кілометрах; з двома цифрами після коми)'), | 363 | + 'nearest_settlement_distance' => $this->float()->comment('Відстань до найближчого населеного пункту (в кілометрах; з двома цифрами після коми)'), |
| 222 | 'state' => $this->integer()->comment('Технічний стан (згідно з [4])'), | 364 | 'state' => $this->integer()->comment('Технічний стан (згідно з [4])'), |
| 223 | 'lane_count_forward' => $this->integer()->comment('Кількість смуг руху в прямому напрямку руху'), | 365 | 'lane_count_forward' => $this->integer()->comment('Кількість смуг руху в прямому напрямку руху'), |
| 224 | 'lane_count_back' => $this->integer()->comment('Кількість смуг руху праворуч в зворотному напрямку руху'), | 366 | 'lane_count_back' => $this->integer()->comment('Кількість смуг руху праворуч в зворотному напрямку руху'), |
| 225 | - 'length' => $this->decimal()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), | ||
| 226 | - 'height' => $this->decimal()->comment('Висота (у метрах; з двома цифрами після коми)'), | ||
| 227 | - 'width' => $this->decimal()->comment('Ширина (у метрах; з двома цифрами після коми)'), | ||
| 228 | - 'sideway_width_forward_left' => $this->decimal()->comment('Ширина тротуару ліворуч від прямого напрямку руху (у метрах; з двома цифрами після коми)'), | ||
| 229 | - 'sideway_width_forward_right' => $this->decimal()->comment('Ширина тротуару праворуч від прямого напрямку руху (у метрах; з двома цифрами після коми)'), | 367 | + 'length' => $this->float()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), |
| 368 | + 'height' => $this->float()->comment('Висота (у метрах; з двома цифрами після коми)'), | ||
| 369 | + 'width' => $this->float()->comment('Ширина (у метрах; з двома цифрами після коми)'), | ||
| 370 | + 'sideway_width_forward_left' => $this->float()->comment('Ширина тротуару ліворуч від прямого напрямку руху (у метрах; з двома цифрами після коми)'), | ||
| 371 | + 'sideway_width_forward_right' => $this->float()->comment('Ширина тротуару праворуч від прямого напрямку руху (у метрах; з двома цифрами після коми)'), | ||
| 230 | 'bearing_structures_long_scheme' => $this->text()->comment('Поздовжня схема несучих конструкцій по ходу кілометражу'), | 372 | 'bearing_structures_long_scheme' => $this->text()->comment('Поздовжня схема несучих конструкцій по ходу кілометражу'), |
| 231 | 'slope_long_scheme' => $this->text()->comment('Поздовжня схема похилів'), | 373 | 'slope_long_scheme' => $this->text()->comment('Поздовжня схема похилів'), |
| 232 | 'drainage_tray_internal_type' => $this->integer()->comment('Тип лотків внутрішнього водовідведення (згідно з [4])'), | 374 | 'drainage_tray_internal_type' => $this->integer()->comment('Тип лотків внутрішнього водовідведення (згідно з [4])'), |
| 233 | - 'drainage_tray_internal_length' => $this->decimal()->comment('Загальна довжина лотків внутрішнього водовідведення (у метрах; з двома цифрами після коми)'), | 375 | + 'drainage_tray_internal_length' => $this->float()->comment('Загальна довжина лотків внутрішнього водовідведення (у метрах; з двома цифрами після коми)'), |
| 234 | 'drainage_tunnel_internal_type' => $this->integer()->comment('Тип дренажних штолень внутрішнього водовідведення (згідно з [4])'), | 376 | 'drainage_tunnel_internal_type' => $this->integer()->comment('Тип дренажних штолень внутрішнього водовідведення (згідно з [4])'), |
| 235 | - 'drainage_tunnel_internal_length' => $this->decimal()->comment('Загальна довжина дренажних штолень внутрішнього водовідведення (у метрах; з двома цифрами після коми)'), | 377 | + 'drainage_tunnel_internal_length' => $this->float()->comment('Загальна довжина дренажних штолень внутрішнього водовідведення (у метрах; з двома цифрами після коми)'), |
| 236 | 'drainage_other_internal_construction' => $this->integer()->comment('Наявність інших внутрішніх водовідвідних споруд (згідно з [4])'), | 378 | 'drainage_other_internal_construction' => $this->integer()->comment('Наявність інших внутрішніх водовідвідних споруд (згідно з [4])'), |
| 237 | 'drainage_tray_outer_type' => $this->integer()->comment('Тип лотків поверхневого водовідведення (згідно з [4])'), | 379 | 'drainage_tray_outer_type' => $this->integer()->comment('Тип лотків поверхневого водовідведення (згідно з [4])'), |
| 238 | - 'drainage_tray_outer_length' => $this->decimal()->comment('Загальна довжина лотків поверхневого водовідведення (у метрах; з двома цифрами після коми)'), | 380 | + 'drainage_tray_outer_length' => $this->float()->comment('Загальна довжина лотків поверхневого водовідведення (у метрах; з двома цифрами після коми)'), |
| 239 | 'drainage_tunnel_outer_type' => $this->integer()->comment('Тип нагірних канав поверхневого водовідведення (згідно з [4])'), | 381 | 'drainage_tunnel_outer_type' => $this->integer()->comment('Тип нагірних канав поверхневого водовідведення (згідно з [4])'), |
| 240 | - 'drainage_tunnel_outer_length' => $this->decimal()->comment('Загальна довжина нагірних канав поверхневого водовідведення (у метрах; з двома цифрами після коми)'), | 382 | + 'drainage_tunnel_outer_length' => $this->float()->comment('Загальна довжина нагірних канав поверхневого водовідведення (у метрах; з двома цифрами після коми)'), |
| 241 | 'drainage_other_outer_construction' => $this->integer()->comment('Наявність інших поверхневих водовідвідних споруд (згідно з [4])'), | 383 | 'drainage_other_outer_construction' => $this->integer()->comment('Наявність інших поверхневих водовідвідних споруд (згідно з [4])'), |
| 242 | - 'fence_height' => $this->decimal()->comment('Висота огородження (у метрах; з двома цифрами після коми)'), | 384 | + 'fence_height' => $this->float()->comment('Висота огородження (у метрах; з двома цифрами після коми)'), |
| 243 | 'sidewalk_type_left' => $this->integer()->comment('Тип тротуару ліворуч (згідно з [4])'), | 385 | 'sidewalk_type_left' => $this->integer()->comment('Тип тротуару ліворуч (згідно з [4])'), |
| 244 | 'barrier_material_type_left' => $this->integer()->comment('Матеріал перил тротуару ліворуч (згідно з [4])'), | 386 | 'barrier_material_type_left' => $this->integer()->comment('Матеріал перил тротуару ліворуч (згідно з [4])'), |
| 245 | 'barrier_height_left' => $this->integer()->comment('Висота перил тротуару ліворуч (у метрах; з двома цифрами після коми)'), | 387 | 'barrier_height_left' => $this->integer()->comment('Висота перил тротуару ліворуч (у метрах; з двома цифрами після коми)'), |
| @@ -252,7 +394,7 @@ class m160609_074818_tables extends Migration | @@ -252,7 +394,7 @@ class m160609_074818_tables extends Migration | ||
| 252 | 'antiseismic_type_id' => $this->integer()->comment('Типи антисейсмічних пристроїв (згідно з [4])'), | 394 | 'antiseismic_type_id' => $this->integer()->comment('Типи антисейсмічних пристроїв (згідно з [4])'), |
| 253 | 'communication_type_id' => $this->integer()->comment('Тип комунікації, яка перепускається спорудою (згідно з [4])'), | 395 | 'communication_type_id' => $this->integer()->comment('Тип комунікації, яка перепускається спорудою (згідно з [4])'), |
| 254 | 'security_connection_availability' => $this->integer()->comment('Наявність охорони та зв\'язку (згідно з [4])'), | 396 | 'security_connection_availability' => $this->integer()->comment('Наявність охорони та зв\'язку (згідно з [4])'), |
| 255 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість (у тисячах гривень; з двома цифрами після коми)'), | 397 | + 'balance_cost' => $this->float()->comment('Балансова вартість (у тисячах гривень; з двома цифрами після коми)'), |
| 256 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), | 398 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), |
| 257 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 399 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 258 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), | 400 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), |
| @@ -272,23 +414,23 @@ class m160609_074818_tables extends Migration | @@ -272,23 +414,23 @@ class m160609_074818_tables extends Migration | ||
| 272 | 'tunnel_portal_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | 414 | 'tunnel_portal_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), |
| 273 | 'purpose' => $this->text()->comment('Призначення порталу'), | 415 | 'purpose' => $this->text()->comment('Призначення порталу'), |
| 274 | 'tunnel_portal_type_id' => $this->integer()->comment('Тип порталу (згідно з [4])'), | 416 | 'tunnel_portal_type_id' => $this->integer()->comment('Тип порталу (згідно з [4])'), |
| 275 | - 'thick' => $this->decimal()->comment('Товщина (у метрах; з двома цифрами після коми)'), | ||
| 276 | - 'height' => $this->decimal()->comment('Висота (у метрах; з двома цифрами після коми)'), | ||
| 277 | - 'width' => $this->decimal()->comment('Ширина (у метрах; з двома цифрами після коми)'), | 417 | + 'thick' => $this->float()->comment('Товщина (у метрах; з двома цифрами після коми)'), |
| 418 | + 'height' => $this->float()->comment('Висота (у метрах; з двома цифрами після коми)'), | ||
| 419 | + 'width' => $this->float()->comment('Ширина (у метрах; з двома цифрами після коми)'), | ||
| 278 | 'frame_material_id' => $this->integer()->comment('Матеріал оправи порталу (згідно з [4])'), | 420 | 'frame_material_id' => $this->integer()->comment('Матеріал оправи порталу (згідно з [4])'), |
| 279 | - 'frame_capacity' => $this->decimal()->comment('Обєм оправи порталу (у кубічних метрах; з двома цифрами після коми)'), | 421 | + 'frame_capacity' => $this->float()->comment('Обєм оправи порталу (у кубічних метрах; з двома цифрами після коми)'), |
| 280 | 'another_first_type_material_id' => $this->integer()->comment('Матеріал інших елементів порталу 1-го типу (згідно з [4])'), | 422 | 'another_first_type_material_id' => $this->integer()->comment('Матеріал інших елементів порталу 1-го типу (згідно з [4])'), |
| 281 | - 'another_first_type_capacity' => $this->decimal()->comment('Обєм інших елементів 1-го типу (у кубічних метрах; з двома цифрами після коми)'), | 423 | + 'another_first_type_capacity' => $this->float()->comment('Обєм інших елементів 1-го типу (у кубічних метрах; з двома цифрами після коми)'), |
| 282 | 'another_second_type_material_id' => $this->integer()->comment('Матеріал інших елементів порталу 2-го типу (згідно з [4])'), | 424 | 'another_second_type_material_id' => $this->integer()->comment('Матеріал інших елементів порталу 2-го типу (згідно з [4])'), |
| 283 | - 'another_second_type_capacity' => $this->decimal()->comment('Обєм інших елементів 2-го типу (у кубічних метрах; з двома цифрами після коми)'), | 425 | + 'another_second_type_capacity' => $this->float()->comment('Обєм інших елементів 2-го типу (у кубічних метрах; з двома цифрами після коми)'), |
| 284 | 'another_third_type_material_id' => $this->integer()->comment('Матеріал інших елементів порталу 3-го типу (згідно з [4])'), | 426 | 'another_third_type_material_id' => $this->integer()->comment('Матеріал інших елементів порталу 3-го типу (згідно з [4])'), |
| 285 | - 'another_third_type_capacity' => $this->decimal()->comment('Об\'єм інших елементів 3-го типу (у кубічних метрах; з двома цифрами після коми)'), | ||
| 286 | - 'foundation_depth' => $this->decimal()->comment('Глибина залягання фундаменту (у метрах; з двома цифрами після коми)'), | 427 | + 'another_third_type_capacity' => $this->float()->comment('Об\'єм інших елементів 3-го типу (у кубічних метрах; з двома цифрами після коми)'), |
| 428 | + 'foundation_depth' => $this->float()->comment('Глибина залягання фундаменту (у метрах; з двома цифрами після коми)'), | ||
| 287 | 'foundation_first_type_material_id' => $this->integer()->comment('Матеріал фундаменту 1-го типу (згідно з [4])'), | 429 | 'foundation_first_type_material_id' => $this->integer()->comment('Матеріал фундаменту 1-го типу (згідно з [4])'), |
| 288 | 'foundation_second_type_material_id' => $this->integer()->comment('Матеріал фундаменту 2-го типу (згідно з [4])'), | 430 | 'foundation_second_type_material_id' => $this->integer()->comment('Матеріал фундаменту 2-го типу (згідно з [4])'), |
| 289 | 'foundation_third_type_material_id' => $this->integer()->comment('Матеріал фундаменту 3-го типу (згідно з [4])'), | 431 | 'foundation_third_type_material_id' => $this->integer()->comment('Матеріал фундаменту 3-го типу (згідно з [4])'), |
| 290 | 'basement_material_id' => $this->integer()->comment('Матеріал основи (згідно з [4])'), | 432 | 'basement_material_id' => $this->integer()->comment('Матеріал основи (згідно з [4])'), |
| 291 | - 'foundation_basement_capacity' => $this->decimal()->comment('Загальний обєм фундаменту та основи (у кубічних метрах; з двома цифрами після коми)'), | 433 | + 'foundation_basement_capacity' => $this->float()->comment('Загальний обєм фундаменту та основи (у кубічних метрах; з двома цифрами після коми)'), |
| 292 | 'fortified_slope_material_id' => $this->integer()->comment('Матеріал укріплення укосів (згідно з [4])'), | 434 | 'fortified_slope_material_id' => $this->integer()->comment('Матеріал укріплення укосів (згідно з [4])'), |
| 293 | ]); | 435 | ]); |
| 294 | $this->addCommentOnTable('tunnel_portal_card', 'Дані про портал тунелю'); | 436 | $this->addCommentOnTable('tunnel_portal_card', 'Дані про портал тунелю'); |
| @@ -297,19 +439,19 @@ class m160609_074818_tables extends Migration | @@ -297,19 +439,19 @@ class m160609_074818_tables extends Migration | ||
| 297 | $this->createTable('tunnel_body_card', [ | 439 | $this->createTable('tunnel_body_card', [ |
| 298 | 'tunnel_body_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | 440 | 'tunnel_body_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), |
| 299 | 'body_type_id' => $this->integer()->comment('Тип форми тіла (згідно з [4])'), | 441 | 'body_type_id' => $this->integer()->comment('Тип форми тіла (згідно з [4])'), |
| 300 | - 'length' => $this->decimal()->comment('Довжина (у метрах; з двома цифрами після коми)'), | ||
| 301 | - 'height' => $this->decimal()->comment('Висота (у метрах; з двома цифрами після коми)'), | ||
| 302 | - 'width' => $this->decimal()->comment('Ширина (у метрах; з двома цифрами після коми)'), | 442 | + 'length' => $this->float()->comment('Довжина (у метрах; з двома цифрами після коми)'), |
| 443 | + 'height' => $this->float()->comment('Висота (у метрах; з двома цифрами після коми)'), | ||
| 444 | + 'width' => $this->float()->comment('Ширина (у метрах; з двома цифрами після коми)'), | ||
| 303 | 'typical_project_id' => $this->integer()->comment('Типовий проект (згідно з [4])'), | 445 | 'typical_project_id' => $this->integer()->comment('Типовий проект (згідно з [4])'), |
| 304 | 'body_material_id' => $this->integer()->comment('Матеріал тіла тунелю (згідно з [4])'), | 446 | 'body_material_id' => $this->integer()->comment('Матеріал тіла тунелю (згідно з [4])'), |
| 305 | 'carrier_type_id' => $this->integer()->comment('Тип елементів носіїв (згідно з [4])'), | 447 | 'carrier_type_id' => $this->integer()->comment('Тип елементів носіїв (згідно з [4])'), |
| 306 | 'arch_rings_reverse_count' => $this->integer()->comment('Кількість кілець із зворотнім склепінням'), | 448 | 'arch_rings_reverse_count' => $this->integer()->comment('Кількість кілець із зворотнім склепінням'), |
| 307 | 'rings_another_count' => $this->integer()->comment('Кількість кілець без зворотних склепінь та розпірних плит'), | 449 | 'rings_another_count' => $this->integer()->comment('Кількість кілець без зворотних склепінь та розпірних плит'), |
| 308 | 'precast_plates_rings_count' => $this->integer()->comment('Кількість кілець із розпірними плитами'), | 450 | 'precast_plates_rings_count' => $this->integer()->comment('Кількість кілець із розпірними плитами'), |
| 309 | - 'body_material_capacity' => $this->decimal()->comment('Обєм матеріалу тіла (у кубічних метрах; з двома цифрами після коми)'), | 451 | + 'body_material_capacity' => $this->float()->comment('Обєм матеріалу тіла (у кубічних метрах; з двома цифрами після коми)'), |
| 310 | 'foundation_material_id' => $this->integer()->comment('Матеріал фундаменту (згідно з [4])'), | 452 | 'foundation_material_id' => $this->integer()->comment('Матеріал фундаменту (згідно з [4])'), |
| 311 | 'basement_material_id' => $this->integer()->comment('Матеріал основи (згідно з [4])'), | 453 | 'basement_material_id' => $this->integer()->comment('Матеріал основи (згідно з [4])'), |
| 312 | - 'foundation_basement_capacity' => $this->decimal()->comment('Загальний обєм фундаменту та основи (у кубічних метрах; з двома цифрами після коми)'), | 454 | + 'foundation_basement_capacity' => $this->float()->comment('Загальний обєм фундаменту та основи (у кубічних метрах; з двома цифрами після коми)'), |
| 313 | ]); | 455 | ]); |
| 314 | $this->addCommentOnTable('tunnel_body_card', 'Дані про тіло тунелю'); | 456 | $this->addCommentOnTable('tunnel_body_card', 'Дані про тіло тунелю'); |
| 315 | 457 | ||
| @@ -320,9 +462,9 @@ class m160609_074818_tables extends Migration | @@ -320,9 +462,9 @@ class m160609_074818_tables extends Migration | ||
| 320 | 'location' => $this->text()->comment('Місце розташування'), | 462 | 'location' => $this->text()->comment('Місце розташування'), |
| 321 | 'drainage_scheme_outer' => $this->integer()->comment('Схема організації поверхневого водовідведення (згідно з [4])'), | 463 | 'drainage_scheme_outer' => $this->integer()->comment('Схема організації поверхневого водовідведення (згідно з [4])'), |
| 322 | 'sewage_construction_type_id' => $this->integer()->comment('Тип очисної споруди (згідно з [4])'), | 464 | 'sewage_construction_type_id' => $this->integer()->comment('Тип очисної споруди (згідно з [4])'), |
| 323 | - 'capacity_project' => $this->decimal()->comment('Проектна пропускна здатність (у кубічних метрах за секунду; з двома цифрами після коми)'), | ||
| 324 | - 'capacity_fact' => $this->decimal()->comment('Фактична пропускна здатність (у кубічних метрах за секунду; з двома цифрами після коми)'), | ||
| 325 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість (у тисячах гривень; з двома цифрами після коми)'), | 465 | + 'capacity_project' => $this->float()->comment('Проектна пропускна здатність (у кубічних метрах за секунду; з двома цифрами після коми)'), |
| 466 | + 'capacity_fact' => $this->float()->comment('Фактична пропускна здатність (у кубічних метрах за секунду; з двома цифрами після коми)'), | ||
| 467 | + 'balance_cost' => $this->float()->comment('Балансова вартість (у тисячах гривень; з двома цифрами після коми)'), | ||
| 326 | 'technical_doc_id' => $this->integer()->comment('Назва технічної документації (згідно з [4])'), | 468 | 'technical_doc_id' => $this->integer()->comment('Назва технічної документації (згідно з [4])'), |
| 327 | 'technical_doc_location' => $this->text()->comment('Місце зберігання технічної документації'), | 469 | 'technical_doc_location' => $this->text()->comment('Місце зберігання технічної документації'), |
| 328 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), | 470 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), |
| @@ -355,17 +497,17 @@ class m160609_074818_tables extends Migration | @@ -355,17 +497,17 @@ class m160609_074818_tables extends Migration | ||
| 355 | 'obstacle_type_id' => $this->integer()->comment('Вид перешкоди (згідно з [4])'), | 497 | 'obstacle_type_id' => $this->integer()->comment('Вид перешкоди (згідно з [4])'), |
| 356 | 'long_scheme' => $this->text()->comment('Поздовжня схема'), | 498 | 'long_scheme' => $this->text()->comment('Поздовжня схема'), |
| 357 | 'cross_scheme' => $this->text()->comment('Поперечна схема'), | 499 | 'cross_scheme' => $this->text()->comment('Поперечна схема'), |
| 358 | - 'construction_length' => $this->decimal()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), | 500 | + 'construction_length' => $this->float()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), |
| 359 | 'material_id' => $this->integer()->comment('Матеріал споруди (згідно з [4])'), | 501 | 'material_id' => $this->integer()->comment('Матеріал споруди (згідно з [4])'), |
| 360 | - 'height' => $this->decimal()->comment('Габарит по висоті (у метрах; з двома цифрами після коми)'), | ||
| 361 | - 'width' => $this->decimal()->comment('Габарит по ширині (у метрах; з двома цифрами після коми)'), | ||
| 362 | - 'sideway_width_left' => $this->decimal()->comment('Ширина тротуару ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 363 | - 'sideway_width_right' => $this->decimal()->comment('Ширина тротуару праворуч (у метрах; з двома цифрами після коми)'), | ||
| 364 | - 'load' => $this->decimal()->comment('Вантажопідйомність (згідно з ДБН В.2.3-22)'), | 502 | + 'height' => $this->float()->comment('Габарит по висоті (у метрах; з двома цифрами після коми)'), |
| 503 | + 'width' => $this->float()->comment('Габарит по ширині (у метрах; з двома цифрами після коми)'), | ||
| 504 | + 'sideway_width_left' => $this->float()->comment('Ширина тротуару ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 505 | + 'sideway_width_right' => $this->float()->comment('Ширина тротуару праворуч (у метрах; з двома цифрами після коми)'), | ||
| 506 | + 'load' => $this->float()->comment('Вантажопідйомність (згідно з ДБН В.2.3-22)'), | ||
| 365 | 'load_additional' => $this->text()->comment('Додаткове навантаження'), | 507 | 'load_additional' => $this->text()->comment('Додаткове навантаження'), |
| 366 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), | 508 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), |
| 367 | 'bridge_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.25)'), | 509 | 'bridge_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.25)'), |
| 368 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 510 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 369 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), | 511 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), |
| 370 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 512 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 371 | ]); | 513 | ]); |
| @@ -379,38 +521,38 @@ class m160609_074818_tables extends Migration | @@ -379,38 +521,38 @@ class m160609_074818_tables extends Migration | ||
| 379 | 'year_build' => $this->text()->comment('Рік побудови'), | 521 | 'year_build' => $this->text()->comment('Рік побудови'), |
| 380 | 'year_reconstruction' => $this->text()->comment('Рік реконструкції'), | 522 | 'year_reconstruction' => $this->text()->comment('Рік реконструкції'), |
| 381 | 'nearest_settlement_name' => $this->text()->comment('Назва найближчого населеного пункту'), | 523 | 'nearest_settlement_name' => $this->text()->comment('Назва найближчого населеного пункту'), |
| 382 | - 'nearest_settlement_distance' => $this->decimal()->comment('Відстань до найближчого населеного пункту (в кілометрах; з двома цифрами після коми)'), | 524 | + 'nearest_settlement_distance' => $this->float()->comment('Відстань до найближчого населеного пункту (в кілометрах; з двома цифрами після коми)'), |
| 383 | 'constrution_type_id' => $this->integer()->comment('Тип споруди (згідно з [4])'), | 525 | 'constrution_type_id' => $this->integer()->comment('Тип споруди (згідно з [4])'), |
| 384 | - 'load' => $this->decimal()->comment('Вантажопідйомність (згідно з ДБН В.2.3-22)'), | 526 | + 'load' => $this->float()->comment('Вантажопідйомність (згідно з ДБН В.2.3-22)'), |
| 385 | 'load_additional' => $this->text()->comment('Додаткове навантаження'), | 527 | 'load_additional' => $this->text()->comment('Додаткове навантаження'), |
| 386 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), | 528 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), |
| 387 | 'obstacle_type_id' => $this->integer()->comment('Вид перешкоди (згідно з [4])'), | 529 | 'obstacle_type_id' => $this->integer()->comment('Вид перешкоди (згідно з [4])'), |
| 388 | 'obstacle_name' => $this->text()->comment('Власна назва перешкоди'), | 530 | 'obstacle_name' => $this->text()->comment('Власна назва перешкоди'), |
| 389 | - 'watercourse_rmv_width' => $this->decimal()->comment('Ширина водотоку по дзеркалу РМВ (у метрах; з двома цифрами після коми)'), | ||
| 390 | - 'flow_rmv_speed' => $this->decimal()->comment('Швидкість течії при РМВ (у метрах на секунду; з двома цифрами після коми)'), | ||
| 391 | - 'watercourse_rvv_width' => $this->decimal()->comment('Ширина водотоку по дзеркалу РВВ (у метрах; з двома цифрами після коми)'), | 531 | + 'watercourse_rmv_width' => $this->float()->comment('Ширина водотоку по дзеркалу РМВ (у метрах; з двома цифрами після коми)'), |
| 532 | + 'flow_rmv_speed' => $this->float()->comment('Швидкість течії при РМВ (у метрах на секунду; з двома цифрами після коми)'), | ||
| 533 | + 'watercourse_rvv_width' => $this->float()->comment('Ширина водотоку по дзеркалу РВВ (у метрах; з двома цифрами після коми)'), | ||
| 392 | 'flow_km_direction' => $this->integer()->comment('Напрямок течії по ходу кілометражу (згідно з [4])'), | 534 | 'flow_km_direction' => $this->integer()->comment('Напрямок течії по ходу кілометражу (згідно з [4])'), |
| 393 | 'road_category_id' => $this->integer()->comment('Категорія автомобільної дороги (згідно з [4])'), | 535 | 'road_category_id' => $this->integer()->comment('Категорія автомобільної дороги (згідно з [4])'), |
| 394 | 'rail_track_count' => $this->integer()->comment('Кількість колій залізниці'), | 536 | 'rail_track_count' => $this->integer()->comment('Кількість колій залізниці'), |
| 395 | - 'obstacle_top_width' => $this->decimal()->comment('Ширина земляного полотна перешкоди по верху (у метрах; з двома цифрами після коми)'), | ||
| 396 | - 'cross_angle' => $this->decimal()->comment('Кут перетину (в градусах; з двома цифрами після коми)'), | ||
| 397 | - 'overall_dimension' => $this->decimal()->comment('Габарит (у метрах; з двома цифрами після коми)'), | 537 | + 'obstacle_top_width' => $this->float()->comment('Ширина земляного полотна перешкоди по верху (у метрах; з двома цифрами після коми)'), |
| 538 | + 'cross_angle' => $this->float()->comment('Кут перетину (в градусах; з двома цифрами після коми)'), | ||
| 539 | + 'overall_dimension' => $this->float()->comment('Габарит (у метрах; з двома цифрами після коми)'), | ||
| 398 | 'lane_count_forward' => $this->integer()->comment('Кількість смуг руху в прямому напрямку руху'), | 540 | 'lane_count_forward' => $this->integer()->comment('Кількість смуг руху в прямому напрямку руху'), |
| 399 | 'lane_count_back' => $this->integer()->comment('Кількість смуг руху праворуч в зворотному напрямку руху'), | 541 | 'lane_count_back' => $this->integer()->comment('Кількість смуг руху праворуч в зворотному напрямку руху'), |
| 400 | - 'length' => $this->decimal()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), | ||
| 401 | - 'height' => $this->decimal()->comment('Висота (у метрах; з двома цифрами після коми)'), | ||
| 402 | - 'width' => $this->decimal()->comment('Ширина (у метрах; з двома цифрами після коми)'), | ||
| 403 | - 'sideway_width_forward_left' => $this->decimal()->comment('Ширина тротуару ліворуч від прямого напрямку руху (у метрах; з двома цифрами після коми)'), | ||
| 404 | - 'sideway_width_forward_right' => $this->decimal()->comment('Ширина тротуару праворуч від прямого напрямку руху (у метрах; з двома цифрами після коми)'), | ||
| 405 | - 'bridge_under_height' => $this->decimal()->comment('Висота підмостового габариту (у метрах; з двома цифрами після коми)'), | ||
| 406 | - 'bridge_under_width' => $this->decimal()->comment('Ширина підмостового габариту (у метрах; з двома цифрами після коми)'), | ||
| 407 | - 'bridge_hole' => $this->decimal()->comment('Отвір моста (у метрах; з двома цифрами після коми)'), | 542 | + 'length' => $this->float()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), |
| 543 | + 'height' => $this->float()->comment('Висота (у метрах; з двома цифрами після коми)'), | ||
| 544 | + 'width' => $this->float()->comment('Ширина (у метрах; з двома цифрами після коми)'), | ||
| 545 | + 'sideway_width_forward_left' => $this->float()->comment('Ширина тротуару ліворуч від прямого напрямку руху (у метрах; з двома цифрами після коми)'), | ||
| 546 | + 'sideway_width_forward_right' => $this->float()->comment('Ширина тротуару праворуч від прямого напрямку руху (у метрах; з двома цифрами після коми)'), | ||
| 547 | + 'bridge_under_height' => $this->float()->comment('Висота підмостового габариту (у метрах; з двома цифрами після коми)'), | ||
| 548 | + 'bridge_under_width' => $this->float()->comment('Ширина підмостового габариту (у метрах; з двома цифрами після коми)'), | ||
| 549 | + 'bridge_hole' => $this->float()->comment('Отвір моста (у метрах; з двома цифрами після коми)'), | ||
| 408 | 'span_long_scheme' => $this->text()->comment('Поздовжня схема прогонових будов по ходу кілометражу'), | 550 | 'span_long_scheme' => $this->text()->comment('Поздовжня схема прогонових будов по ходу кілометражу'), |
| 409 | 'slope_long_scheme' => $this->text()->comment('Поздовжня схема похилів'), | 551 | 'slope_long_scheme' => $this->text()->comment('Поздовжня схема похилів'), |
| 410 | 'fence_construction_right_id' => $this->integer()->comment('Конструкція огородження праворуч (згідно з [4])'), | 552 | 'fence_construction_right_id' => $this->integer()->comment('Конструкція огородження праворуч (згідно з [4])'), |
| 411 | - 'fence_height_right' => $this->decimal()->comment('Висота огородження праворуч (у метрах; з двома цифрами після коми)'), | 553 | + 'fence_height_right' => $this->float()->comment('Висота огородження праворуч (у метрах; з двома цифрами після коми)'), |
| 412 | 'fence_construction_left_id' => $this->integer()->comment('Конструкція огородження ліворуч (згідно з [4])'), | 554 | 'fence_construction_left_id' => $this->integer()->comment('Конструкція огородження ліворуч (згідно з [4])'), |
| 413 | - 'fence_height_left' => $this->decimal()->comment('Висота огородження ліворуч (у метрах; з двома цифрами після коми)'), | 555 | + 'fence_height_left' => $this->float()->comment('Висота огородження ліворуч (у метрах; з двома цифрами після коми)'), |
| 414 | 'sidewalk_type_left' => $this->integer()->comment('Тип тротуару ліворуч (згідно з [4])'), | 556 | 'sidewalk_type_left' => $this->integer()->comment('Тип тротуару ліворуч (згідно з [4])'), |
| 415 | 'barrier_material_type_left' => $this->integer()->comment('Матеріал перил тротуару ліворуч (згідно з [4])'), | 557 | 'barrier_material_type_left' => $this->integer()->comment('Матеріал перил тротуару ліворуч (згідно з [4])'), |
| 416 | 'barrier_height_left' => $this->integer()->comment('Висота перил тротуару ліворуч (у метрах; з двома цифрами після коми)'), | 558 | 'barrier_height_left' => $this->integer()->comment('Висота перил тротуару ліворуч (у метрах; з двома цифрами після коми)'), |
| @@ -422,7 +564,7 @@ class m160609_074818_tables extends Migration | @@ -422,7 +564,7 @@ class m160609_074818_tables extends Migration | ||
| 422 | 'deformation_joint_type_id' => $this->integer()->comment('Типи деформаційних швів (згідно з [4])'), | 564 | 'deformation_joint_type_id' => $this->integer()->comment('Типи деформаційних швів (згідно з [4])'), |
| 423 | 'communication_type_id' => $this->integer()->comment('Тип комунікації, яка перепускається спорудою (згідно з [4])'), | 565 | 'communication_type_id' => $this->integer()->comment('Тип комунікації, яка перепускається спорудою (згідно з [4])'), |
| 424 | 'drainage_type_id' => $this->integer()->comment('Тип водовідведення (згідно з [4])'), | 566 | 'drainage_type_id' => $this->integer()->comment('Тип водовідведення (згідно з [4])'), |
| 425 | - 'drainage_tray_length' => $this->decimal()->comment('Загальна довжина лотків зливової каналізації (у метрах; з двома цифрами після коми)'), | 567 | + 'drainage_tray_length' => $this->float()->comment('Загальна довжина лотків зливової каналізації (у метрах; з двома цифрами після коми)'), |
| 426 | 'regulatory_structure_left' => $this->integer()->comment('Регуляційні споруди лівобережні (згідно з [4])'), | 568 | 'regulatory_structure_left' => $this->integer()->comment('Регуляційні споруди лівобережні (згідно з [4])'), |
| 427 | 'regulatory_structure_right' => $this->integer()->comment('Регуляційні споруди правобережні (згідно з [4])'), | 569 | 'regulatory_structure_right' => $this->integer()->comment('Регуляційні споруди правобережні (згідно з [4])'), |
| 428 | 'security_connection_availability' => $this->integer()->comment('Наявність охорони та зв\'язку (згідно з [4])'), | 570 | 'security_connection_availability' => $this->integer()->comment('Наявність охорони та зв\'язку (згідно з [4])'), |
| @@ -432,7 +574,7 @@ class m160609_074818_tables extends Migration | @@ -432,7 +574,7 @@ class m160609_074818_tables extends Migration | ||
| 432 | 'stair_availability_begin_right' => $this->integer()->comment('Наявність сходів на початку споруди праворуч (згідно з [4])'), | 574 | 'stair_availability_begin_right' => $this->integer()->comment('Наявність сходів на початку споруди праворуч (згідно з [4])'), |
| 433 | 'stair_availability_end_left' => $this->integer()->comment('Наявність сходів в кінці споруди ліворуч (згідно з [4])'), | 575 | 'stair_availability_end_left' => $this->integer()->comment('Наявність сходів в кінці споруди ліворуч (згідно з [4])'), |
| 434 | 'stair_availability_end_right' => $this->integer()->comment('Наявність сходів в кінці споруди праворуч (згідно з [4])'), | 576 | 'stair_availability_end_right' => $this->integer()->comment('Наявність сходів в кінці споруди праворуч (згідно з [4])'), |
| 435 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість (у тисячах гривень; з двома цифрами після коми)'), | 577 | + 'balance_cost' => $this->float()->comment('Балансова вартість (у тисячах гривень; з двома цифрами після коми)'), |
| 436 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), | 578 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), |
| 437 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 579 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 438 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), | 580 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), |
| @@ -458,7 +600,7 @@ class m160609_074818_tables extends Migration | @@ -458,7 +600,7 @@ class m160609_074818_tables extends Migration | ||
| 458 | 'span_same_numbers' => $this->text()->comment('Номери однакових прогонових будов в прогоні (ліворуч направо)'), | 600 | 'span_same_numbers' => $this->text()->comment('Номери однакових прогонових будов в прогоні (ліворуч направо)'), |
| 459 | 'span_construction_type_id' => $this->integer()->comment('Тип конструкції прогонової будови (згідно з [4])'), | 601 | 'span_construction_type_id' => $this->integer()->comment('Тип конструкції прогонової будови (згідно з [4])'), |
| 460 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), | 602 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), |
| 461 | - 'span_length' => $this->decimal()->comment('Повна довжина прогонової будови (у метрах; з двома цифрами після коми)'), | 603 | + 'span_length' => $this->float()->comment('Повна довжина прогонової будови (у метрах; з двома цифрами після коми)'), |
| 462 | 'year_build' => $this->text()->comment('Рік виготовлення'), | 604 | 'year_build' => $this->text()->comment('Рік виготовлення'), |
| 463 | 'load' => $this->integer()->comment('Проектне навантаження (згідно з [4])'), | 605 | 'load' => $this->integer()->comment('Проектне навантаження (згідно з [4])'), |
| 464 | 'typical_project_id' => $this->integer()->comment('Типовий проект (згідно з [4])'), | 606 | 'typical_project_id' => $this->integer()->comment('Типовий проект (згідно з [4])'), |
| @@ -467,12 +609,12 @@ class m160609_074818_tables extends Migration | @@ -467,12 +609,12 @@ class m160609_074818_tables extends Migration | ||
| 467 | 'cross_scheme' => $this->text()->comment('Поперечна схема'), | 609 | 'cross_scheme' => $this->text()->comment('Поперечна схема'), |
| 468 | 'cross_joint_type_id' => $this->integer()->comment('Спосіб поперечного об\'єднання (згідно з [4])'), | 610 | 'cross_joint_type_id' => $this->integer()->comment('Спосіб поперечного об\'єднання (згідно з [4])'), |
| 469 | 'girder_main_count' => $this->integer()->comment('Кількість головних балок'), | 611 | 'girder_main_count' => $this->integer()->comment('Кількість головних балок'), |
| 470 | - 'girder_main_center_height' => $this->decimal()->comment('Висота головної балки в центрі прогону (у метрах; з двома цифрами після коми)'), | ||
| 471 | - 'girder_main_pillar_height' => $this->decimal()->comment('Висота головної балки на опорі (у метрах; з двома цифрами після коми)'), | 612 | + 'girder_main_center_height' => $this->float()->comment('Висота головної балки в центрі прогону (у метрах; з двома цифрами після коми)'), |
| 613 | + 'girder_main_pillar_height' => $this->float()->comment('Висота головної балки на опорі (у метрах; з двома цифрами після коми)'), | ||
| 472 | 'girder_cross_count' => $this->integer()->comment('Кількість поперечних балок (діафрагм) в прогоні'), | 614 | 'girder_cross_count' => $this->integer()->comment('Кількість поперечних балок (діафрагм) в прогоні'), |
| 473 | 'girder_long_count' => $this->integer()->comment('Кількість поздовжніх балок у панелі'), | 615 | 'girder_long_count' => $this->integer()->comment('Кількість поздовжніх балок у панелі'), |
| 474 | - 'roadway_plate_thick' => $this->decimal()->comment('Товщина плити проїзної частини (в міліметрах; з двома цифрами після коми)'), | ||
| 475 | - 'road_surface_thick' => $this->decimal()->comment('Товщина одягу проїзної частини (в міліметрах; з двома цифрами після коми)'), | 616 | + 'roadway_plate_thick' => $this->float()->comment('Товщина плити проїзної частини (в міліметрах; з двома цифрами після коми)'), |
| 617 | + 'road_surface_thick' => $this->float()->comment('Товщина одягу проїзної частини (в міліметрах; з двома цифрами після коми)'), | ||
| 476 | 'load_additional' => $this->text()->comment('Додаткове навантаження'), | 618 | 'load_additional' => $this->text()->comment('Додаткове навантаження'), |
| 477 | 'note' => $this->text()->comment('Примітки'), | 619 | 'note' => $this->text()->comment('Примітки'), |
| 478 | ]); | 620 | ]); |
| @@ -483,18 +625,18 @@ class m160609_074818_tables extends Migration | @@ -483,18 +625,18 @@ class m160609_074818_tables extends Migration | ||
| 483 | 'pillar_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | 625 | 'pillar_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), |
| 484 | 'pillar_same_numbers' => $this->text()->comment('Номери однакових опор (ціле число або їх сукупність)'), | 626 | 'pillar_same_numbers' => $this->text()->comment('Номери однакових опор (ціле число або їх сукупність)'), |
| 485 | 'pillar_construction_type_id' => $this->integer()->comment('Тип конструкції опори (згідно з [4])'), | 627 | 'pillar_construction_type_id' => $this->integer()->comment('Тип конструкції опори (згідно з [4])'), |
| 486 | - 'total_height' => $this->decimal()->comment('Загальна висота опори (у метрах; з двома цифрами після коми)'), | ||
| 487 | - 'massive_height' => $this->decimal()->comment('Висота масивної частини опори (у метрах; з двома цифрами після коми)'), | ||
| 488 | - 'massive_width' => $this->decimal()->comment('Ширина масивної частини опори (у метрах; з двома цифрами після коми)'), | 628 | + 'total_height' => $this->float()->comment('Загальна висота опори (у метрах; з двома цифрами після коми)'), |
| 629 | + 'massive_height' => $this->float()->comment('Висота масивної частини опори (у метрах; з двома цифрами після коми)'), | ||
| 630 | + 'massive_width' => $this->float()->comment('Ширина масивної частини опори (у метрах; з двома цифрами після коми)'), | ||
| 489 | 'stud_count' => $this->integer()->comment('Кількість стояків'), | 631 | 'stud_count' => $this->integer()->comment('Кількість стояків'), |
| 490 | - 'stud_cut' => $this->decimal()->comment('Переріз стояка (у метрах; з двома цифрами після коми)'), | ||
| 491 | - 'bar_cut' => $this->decimal()->comment('Переріз ригеля (у метрах; з двома цифрами після коми)'), | ||
| 492 | - 'bar_length' => $this->decimal()->comment('Переріз ригеля (у метрах; з двома цифрами після коми)'), | 632 | + 'stud_cut' => $this->float()->comment('Переріз стояка (у метрах; з двома цифрами після коми)'), |
| 633 | + 'bar_cut' => $this->float()->comment('Переріз ригеля (у метрах; з двома цифрами після коми)'), | ||
| 634 | + 'bar_length' => $this->float()->comment('Переріз ригеля (у метрах; з двома цифрами після коми)'), | ||
| 493 | 'pile_count' => $this->integer()->comment('Кількість паль'), | 635 | 'pile_count' => $this->integer()->comment('Кількість паль'), |
| 494 | - 'pile_cut' => $this->decimal()->comment('Переріз паль (у метрах; з двома цифрами після коми)'), | 636 | + 'pile_cut' => $this->float()->comment('Переріз паль (у метрах; з двома цифрами після коми)'), |
| 495 | 'material_id' => $this->integer()->comment('Матеріал опори (згідно з [4])'), | 637 | 'material_id' => $this->integer()->comment('Матеріал опори (згідно з [4])'), |
| 496 | 'foundation_type__id' => $this->integer()->comment('Тип фундаменту (згідно з [4])'), | 638 | 'foundation_type__id' => $this->integer()->comment('Тип фундаменту (згідно з [4])'), |
| 497 | - 'foundation_depth' => $this->decimal()->comment('Глибина закладання фундаменту (у метрах; з двома цифрами після коми)'), | 639 | + 'foundation_depth' => $this->float()->comment('Глибина закладання фундаменту (у метрах; з двома цифрами після коми)'), |
| 498 | 'fortified_conus_material_id' => $this->integer()->comment('Матеріал укріплення конусу (згідно з [4])'), | 640 | 'fortified_conus_material_id' => $this->integer()->comment('Матеріал укріплення конусу (згідно з [4])'), |
| 499 | 'icebreaker_type_id' => $this->integer()->comment('Тип льодорізу (згідно з [4])'), | 641 | 'icebreaker_type_id' => $this->integer()->comment('Тип льодорізу (згідно з [4])'), |
| 500 | 'icebreaker_material_id' => $this->integer()->comment('Матеріал льодорізу (згідно з [4])'), | 642 | 'icebreaker_material_id' => $this->integer()->comment('Матеріал льодорізу (згідно з [4])'), |
| @@ -507,13 +649,13 @@ class m160609_074818_tables extends Migration | @@ -507,13 +649,13 @@ class m160609_074818_tables extends Migration | ||
| 507 | 'road_name' => $this->string()->comment('Назва автомобільної дороги або під\'їзду (обходу, транспортної розв\'язки) в складі титулу (згідно з [5])'), | 649 | 'road_name' => $this->string()->comment('Назва автомобільної дороги або під\'їзду (обходу, транспортної розв\'язки) в складі титулу (згідно з [5])'), |
| 508 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), | 650 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), |
| 509 | 'position' => $this->string()->comment('Положення (псевдогеодані)'), | 651 | 'position' => $this->string()->comment('Положення (псевдогеодані)'), |
| 510 | - 'length' => $this->decimal()->comment('Довжина підземної частини споруди (у метрах; з двома цифрами після коми)'), | 652 | + 'length' => $this->float()->comment('Довжина підземної частини споруди (у метрах; з двома цифрами після коми)'), |
| 511 | 'cross_scheme' => $this->text()->comment('Поперечна схема'), | 653 | 'cross_scheme' => $this->text()->comment('Поперечна схема'), |
| 512 | 'material_id' => $this->integer()->comment('Матеріал споруди (згідно з [4])'), | 654 | 'material_id' => $this->integer()->comment('Матеріал споруди (згідно з [4])'), |
| 513 | - 'height' => $this->decimal()->comment('Висота споруди (у метрах; з двома цифрами після коми)'), | ||
| 514 | - 'width' => $this->decimal()->comment('Ширина споруди (у метрах; з двома цифрами після коми)'), | 655 | + 'height' => $this->float()->comment('Висота споруди (у метрах; з двома цифрами після коми)'), |
| 656 | + 'width' => $this->float()->comment('Ширина споруди (у метрах; з двома цифрами після коми)'), | ||
| 515 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), | 657 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), |
| 516 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 658 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 517 | 'underground_crossing_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.29)'), | 659 | 'underground_crossing_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.29)'), |
| 518 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), | 660 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), |
| 519 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 661 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| @@ -525,25 +667,25 @@ class m160609_074818_tables extends Migration | @@ -525,25 +667,25 @@ class m160609_074818_tables extends Migration | ||
| 525 | 'underground_crossing_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | 667 | 'underground_crossing_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), |
| 526 | 'position' => $this->string()->comment('Положення (псевдогеодані)'), | 668 | 'position' => $this->string()->comment('Положення (псевдогеодані)'), |
| 527 | 'nearest_settlement_name' => $this->text()->comment('Назва найближчого населеного пункту'), | 669 | 'nearest_settlement_name' => $this->text()->comment('Назва найближчого населеного пункту'), |
| 528 | - 'nearest_settlement_distance' => $this->decimal()->comment('Відстань до найближчого населеного пункту (в кілометрах; з двома цифрами після коми)'), | 670 | + 'nearest_settlement_distance' => $this->float()->comment('Відстань до найближчого населеного пункту (в кілометрах; з двома цифрами після коми)'), |
| 529 | 'state' => $this->integer()->comment('Технічний стан (згідно з [4])'), | 671 | 'state' => $this->integer()->comment('Технічний стан (згідно з [4])'), |
| 530 | - 'length' => $this->decimal()->comment('Довжина підземної частини споруди (у метрах; з двома цифрами після коми)'), | ||
| 531 | - 'height' => $this->decimal()->comment('Висота (у метрах; з двома цифрами після коми)'), | ||
| 532 | - 'width' => $this->decimal()->comment('Ширина (у метрах; з двома цифрами після коми)'), | 672 | + 'length' => $this->float()->comment('Довжина підземної частини споруди (у метрах; з двома цифрами після коми)'), |
| 673 | + 'height' => $this->float()->comment('Висота (у метрах; з двома цифрами після коми)'), | ||
| 674 | + 'width' => $this->float()->comment('Ширина (у метрах; з двома цифрами після коми)'), | ||
| 533 | 'slope_long_scheme' => $this->text()->comment('Поздовжня схема похилів'), | 675 | 'slope_long_scheme' => $this->text()->comment('Поздовжня схема похилів'), |
| 534 | - 'mound_height' => $this->decimal()->comment('Висота насипу над переходом (у метрах; з двома цифрами після коми)'), | ||
| 535 | - 'stair_total_length' => $this->decimal()->comment('Загальна довжина сходів на вході та виході з підземного переходу (у метрах; з двома цифрами після коми)'), | 676 | + 'mound_height' => $this->float()->comment('Висота насипу над переходом (у метрах; з двома цифрами після коми)'), |
| 677 | + 'stair_total_length' => $this->float()->comment('Загальна довжина сходів на вході та виході з підземного переходу (у метрах; з двома цифрами після коми)'), | ||
| 536 | 'drainage_tray_internal_type' => $this->integer()->comment('Тип лотків внутрішнього водовідведення (згідно з [4])'), | 678 | 'drainage_tray_internal_type' => $this->integer()->comment('Тип лотків внутрішнього водовідведення (згідно з [4])'), |
| 537 | - 'drainage_tray_internal_length' => $this->decimal()->comment('Загальна довжина лотків внутрішнього водовідведення (у метрах; з двома цифрами після коми)'), | 679 | + 'drainage_tray_internal_length' => $this->float()->comment('Загальна довжина лотків внутрішнього водовідведення (у метрах; з двома цифрами після коми)'), |
| 538 | 'drainage_tunnel_type' => $this->integer()->comment('Тип дренажних штолень (згідно з [4])'), | 680 | 'drainage_tunnel_type' => $this->integer()->comment('Тип дренажних штолень (згідно з [4])'), |
| 539 | - 'drainage_tunnel_length' => $this->decimal()->comment('Загальна довжина дренажних штолень (у метрах; з двома цифрами після коми)'), | 681 | + 'drainage_tunnel_length' => $this->float()->comment('Загальна довжина дренажних штолень (у метрах; з двома цифрами після коми)'), |
| 540 | 'drainage_other_internal_construction' => $this->integer()->comment('Наявність інших внутрішніх водовідвідних споруд (згідно з [4])'), | 682 | 'drainage_other_internal_construction' => $this->integer()->comment('Наявність інших внутрішніх водовідвідних споруд (згідно з [4])'), |
| 541 | 'surface_material_id' => $this->integer()->comment('Матеріал покриття (згідно з [4])'), | 683 | 'surface_material_id' => $this->integer()->comment('Матеріал покриття (згідно з [4])'), |
| 542 | 'ventilation_type_id' => $this->integer()->comment('Тип вентиляції (згідно з [4])'), | 684 | 'ventilation_type_id' => $this->integer()->comment('Тип вентиляції (згідно з [4])'), |
| 543 | 'light_type_id' => $this->integer()->comment('Тип освітлення (згідно з [4])'), | 685 | 'light_type_id' => $this->integer()->comment('Тип освітлення (згідно з [4])'), |
| 544 | 'antiseismic_type_id' => $this->integer()->comment('Типи антисейсмічних пристроїв (згідно з [4])'), | 686 | 'antiseismic_type_id' => $this->integer()->comment('Типи антисейсмічних пристроїв (згідно з [4])'), |
| 545 | 'communication_type_id' => $this->integer()->comment('Тип комунікації, яка перепускається спорудою (згідно з [4])'), | 687 | 'communication_type_id' => $this->integer()->comment('Тип комунікації, яка перепускається спорудою (згідно з [4])'), |
| 546 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість (у тисячах гривень; з двома цифрами після коми)'), | 688 | + 'balance_cost' => $this->float()->comment('Балансова вартість (у тисячах гривень; з двома цифрами після коми)'), |
| 547 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), | 689 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), |
| 548 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 690 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 549 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), | 691 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), |
| @@ -563,19 +705,19 @@ class m160609_074818_tables extends Migration | @@ -563,19 +705,19 @@ class m160609_074818_tables extends Migration | ||
| 563 | 'underground_crossing_portal_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | 705 | 'underground_crossing_portal_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), |
| 564 | 'header_location' => $this->text()->comment('Розташування оголовку'), | 706 | 'header_location' => $this->text()->comment('Розташування оголовку'), |
| 565 | 'underground_crossing_portal_type_id' => $this->integer()->comment('Тип порталу (згідно з [4])'), | 707 | 'underground_crossing_portal_type_id' => $this->integer()->comment('Тип порталу (згідно з [4])'), |
| 566 | - 'thick' => $this->decimal()->comment('Товщина (у метрах; з двома цифрами після коми)'), | ||
| 567 | - 'height' => $this->decimal()->comment('Висота (у метрах; з двома цифрами після коми)'), | ||
| 568 | - 'width' => $this->decimal()->comment('Ширина (у метрах; з двома цифрами після коми)'), | 708 | + 'thick' => $this->float()->comment('Товщина (у метрах; з двома цифрами після коми)'), |
| 709 | + 'height' => $this->float()->comment('Висота (у метрах; з двома цифрами після коми)'), | ||
| 710 | + 'width' => $this->float()->comment('Ширина (у метрах; з двома цифрами після коми)'), | ||
| 569 | 'frame_material_id' => $this->integer()->comment('Матеріал оправи порталу (згідно з [4])'), | 711 | 'frame_material_id' => $this->integer()->comment('Матеріал оправи порталу (згідно з [4])'), |
| 570 | - 'frame_capacity' => $this->decimal()->comment('Обєм оправи порталу (у кубічних метрах; з двома цифрами після коми)'), | 712 | + 'frame_capacity' => $this->float()->comment('Обєм оправи порталу (у кубічних метрах; з двома цифрами після коми)'), |
| 571 | 'another_first_type_material_id' => $this->integer()->comment('Матеріал інших елементів порталу 1-го типу (згідно з [4])'), | 713 | 'another_first_type_material_id' => $this->integer()->comment('Матеріал інших елементів порталу 1-го типу (згідно з [4])'), |
| 572 | - 'another_first_type_capacity' => $this->decimal()->comment('Обєм інших елементів 1-го типу (у кубічних метрах; з двома цифрами після коми)'), | 714 | + 'another_first_type_capacity' => $this->float()->comment('Обєм інших елементів 1-го типу (у кубічних метрах; з двома цифрами після коми)'), |
| 573 | 'another_second_type_material_id' => $this->integer()->comment('Матеріал інших елементів порталу 2-го типу (згідно з [4])'), | 715 | 'another_second_type_material_id' => $this->integer()->comment('Матеріал інших елементів порталу 2-го типу (згідно з [4])'), |
| 574 | - 'another_second_type_capacity' => $this->decimal()->comment('Обєм інших елементів 2-го типу (у кубічних метрах; з двома цифрами після коми)'), | 716 | + 'another_second_type_capacity' => $this->float()->comment('Обєм інших елементів 2-го типу (у кубічних метрах; з двома цифрами після коми)'), |
| 575 | 'another_third_type_material_id' => $this->integer()->comment('Матеріал інших елементів порталу 3-го типу (згідно з [4])'), | 717 | 'another_third_type_material_id' => $this->integer()->comment('Матеріал інших елементів порталу 3-го типу (згідно з [4])'), |
| 576 | - 'another_third_type_capacity' => $this->decimal()->comment('Обєм інших елементів 3-го типу (у кубічних метрах; з двома цифрами після коми)'), | 718 | + 'another_third_type_capacity' => $this->float()->comment('Обєм інших елементів 3-го типу (у кубічних метрах; з двома цифрами після коми)'), |
| 577 | 'basement_material_id' => $this->integer()->comment('Матеріал основи (згідно з [4])'), | 719 | 'basement_material_id' => $this->integer()->comment('Матеріал основи (згідно з [4])'), |
| 578 | - 'foundation_basement_capacity' => $this->decimal()->comment('Загальний обєм фундаменту та основи (у кубічних метрах; з двома цифрами після коми)'), | 720 | + 'foundation_basement_capacity' => $this->float()->comment('Загальний обєм фундаменту та основи (у кубічних метрах; з двома цифрами після коми)'), |
| 579 | 'fortified_slope_material_id' => $this->integer()->comment('Матеріал укріплення укосів (згідно з [4])'), | 721 | 'fortified_slope_material_id' => $this->integer()->comment('Матеріал укріплення укосів (згідно з [4])'), |
| 580 | ]); | 722 | ]); |
| 581 | $this->addCommentOnTable('underground_crossing_portal_card', 'Дані про портал підземного пішохідного переходу'); | 723 | $this->addCommentOnTable('underground_crossing_portal_card', 'Дані про портал підземного пішохідного переходу'); |
| @@ -584,18 +726,18 @@ class m160609_074818_tables extends Migration | @@ -584,18 +726,18 @@ class m160609_074818_tables extends Migration | ||
| 584 | $this->createTable('underground_crossing_body_card', [ | 726 | $this->createTable('underground_crossing_body_card', [ |
| 585 | 'underground_crossing_body_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | 727 | 'underground_crossing_body_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), |
| 586 | 'body_type_id' => $this->integer()->comment('Тип форми тіла (згідно з [4])'), | 728 | 'body_type_id' => $this->integer()->comment('Тип форми тіла (згідно з [4])'), |
| 587 | - 'thick' => $this->decimal()->comment('Товщина (у метрах; з двома цифрами після коми)'), | ||
| 588 | - 'height' => $this->decimal()->comment('Висота (у метрах; з двома цифрами після коми)'), | ||
| 589 | - 'width' => $this->decimal()->comment('Ширина (у метрах; з двома цифрами після коми)'), | 729 | + 'thick' => $this->float()->comment('Товщина (у метрах; з двома цифрами після коми)'), |
| 730 | + 'height' => $this->float()->comment('Висота (у метрах; з двома цифрами після коми)'), | ||
| 731 | + 'width' => $this->float()->comment('Ширина (у метрах; з двома цифрами після коми)'), | ||
| 590 | 'typical_project_id' => $this->integer()->comment('Типовий проект (згідно з [4])'), | 732 | 'typical_project_id' => $this->integer()->comment('Типовий проект (згідно з [4])'), |
| 591 | 'body_material_id' => $this->integer()->comment('Матеріал стінової будови (згідно з [4])'), | 733 | 'body_material_id' => $this->integer()->comment('Матеріал стінової будови (згідно з [4])'), |
| 592 | - 'body_material_capacity' => $this->decimal()->comment('Обєм матеріалу стінової будови (у кубічних метрах; з двома цифрами після коми)'), | 734 | + 'body_material_capacity' => $this->float()->comment('Обєм матеріалу стінової будови (у кубічних метрах; з двома цифрами після коми)'), |
| 593 | 'overlap_type_id' => $this->integer()->comment('Тип конструкцій перекриття (згідно з [4])'), | 735 | 'overlap_type_id' => $this->integer()->comment('Тип конструкцій перекриття (згідно з [4])'), |
| 594 | 'overlap_material_id' => $this->integer()->comment('Матеріал конструкцій перекриття (згідно з [4])'), | 736 | 'overlap_material_id' => $this->integer()->comment('Матеріал конструкцій перекриття (згідно з [4])'), |
| 595 | - 'overlap_material_capacity' => $this->decimal()->comment('Обєм матеріалу конструкцій перекриття (у кубічних метрах; з двома цифрами після коми)'), | 737 | + 'overlap_material_capacity' => $this->float()->comment('Обєм матеріалу конструкцій перекриття (у кубічних метрах; з двома цифрами після коми)'), |
| 596 | 'foundation_material_id' => $this->integer()->comment('Матеріал фундаменту (згідно з [4])'), | 738 | 'foundation_material_id' => $this->integer()->comment('Матеріал фундаменту (згідно з [4])'), |
| 597 | 'basement_material_id' => $this->integer()->comment('Матеріал основи (згідно з [4])'), | 739 | 'basement_material_id' => $this->integer()->comment('Матеріал основи (згідно з [4])'), |
| 598 | - 'foundation_basement_capacity' => $this->decimal()->comment('Загальний обєм фундаменту та основи (у кубічних метрах; з двома цифрами після коми)'), | 740 | + 'foundation_basement_capacity' => $this->float()->comment('Загальний обєм фундаменту та основи (у кубічних метрах; з двома цифрами після коми)'), |
| 599 | ]); | 741 | ]); |
| 600 | $this->addCommentOnTable('underground_crossing_body_card', 'Дані про тіло підземного пішохідного переходу'); | 742 | $this->addCommentOnTable('underground_crossing_body_card', 'Дані про тіло підземного пішохідного переходу'); |
| 601 | 743 | ||
| @@ -603,13 +745,13 @@ class m160609_074818_tables extends Migration | @@ -603,13 +745,13 @@ class m160609_074818_tables extends Migration | ||
| 603 | $this->createTable('underground_crossing_add_on_card', [ | 745 | $this->createTable('underground_crossing_add_on_card', [ |
| 604 | 'underground_crossing_add_on_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | 746 | 'underground_crossing_add_on_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), |
| 605 | 'location' => $this->text()->comment('Розташування надбудови'), | 747 | 'location' => $this->text()->comment('Розташування надбудови'), |
| 606 | - 'thick' => $this->decimal()->comment('Товщина (у метрах; з двома цифрами після коми)'), | ||
| 607 | - 'height' => $this->decimal()->comment('Висота (у метрах; з двома цифрами після коми)'), | ||
| 608 | - 'width' => $this->decimal()->comment('Ширина (у метрах; з двома цифрами після коми)'), | 748 | + 'thick' => $this->float()->comment('Товщина (у метрах; з двома цифрами після коми)'), |
| 749 | + 'height' => $this->float()->comment('Висота (у метрах; з двома цифрами після коми)'), | ||
| 750 | + 'width' => $this->float()->comment('Ширина (у метрах; з двома цифрами після коми)'), | ||
| 609 | 'wall_material_id' => $this->integer()->comment('Матеріал стін (згідно з [4])'), | 751 | 'wall_material_id' => $this->integer()->comment('Матеріал стін (згідно з [4])'), |
| 610 | 'roof_material_id' => $this->integer()->comment('Матеріал даху (згідно з [4])'), | 752 | 'roof_material_id' => $this->integer()->comment('Матеріал даху (згідно з [4])'), |
| 611 | - 'wall_material_capacity' => $this->decimal()->comment('Об\'єм матеріалу стін (у кубічних метрах; з двома цифрами після коми)'), | ||
| 612 | - 'roof_material_capacity' => $this->decimal()->comment('Об\'єм матеріалу даху (у кубічних метрах; з двома цифрами після коми)'), | 753 | + 'wall_material_capacity' => $this->float()->comment('Об\'єм матеріалу стін (у кубічних метрах; з двома цифрами після коми)'), |
| 754 | + 'roof_material_capacity' => $this->float()->comment('Об\'єм матеріалу даху (у кубічних метрах; з двома цифрами після коми)'), | ||
| 613 | 'first_add_on_coords' => $this->string()->comment('Координати 1-ї надбудови (геодані)'), | 755 | 'first_add_on_coords' => $this->string()->comment('Координати 1-ї надбудови (геодані)'), |
| 614 | 'second_add_on_coords' => $this->string()->comment('Координати 2-ї надбудови (геодані)'), | 756 | 'second_add_on_coords' => $this->string()->comment('Координати 2-ї надбудови (геодані)'), |
| 615 | ]); | 757 | ]); |
| @@ -621,17 +763,17 @@ class m160609_074818_tables extends Migration | @@ -621,17 +763,17 @@ class m160609_074818_tables extends Migration | ||
| 621 | 'road_name' => $this->string()->comment('Назва автомобільної дороги або під\'їзду (обходу, транспортної розв\'язки) в складі титулу (згідно з [5])'), | 763 | 'road_name' => $this->string()->comment('Назва автомобільної дороги або під\'їзду (обходу, транспортної розв\'язки) в складі титулу (згідно з [5])'), |
| 622 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), | 764 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), |
| 623 | 'position' => $this->string()->comment('Положення (псевдогеодані)'), | 765 | 'position' => $this->string()->comment('Положення (псевдогеодані)'), |
| 624 | - 'length' => $this->decimal()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), | 766 | + 'length' => $this->float()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), |
| 625 | 'long_scheme' => $this->text()->comment('Поздовжня схема'), | 767 | 'long_scheme' => $this->text()->comment('Поздовжня схема'), |
| 626 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), | 768 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), |
| 627 | - 'height' => $this->decimal()->comment('Висота споруди (у метрах; з двома цифрами після коми)'), | ||
| 628 | - 'width' => $this->decimal()->comment('Ширина споруди (у метрах; з двома цифрами після коми)'), | 769 | + 'height' => $this->float()->comment('Висота споруди (у метрах; з двома цифрами після коми)'), |
| 770 | + 'width' => $this->float()->comment('Ширина споруди (у метрах; з двома цифрами після коми)'), | ||
| 629 | 'add_on_availability' => $this->integer()->comment('Наявність надбудов (згідно з [4])'), | 771 | 'add_on_availability' => $this->integer()->comment('Наявність надбудов (згідно з [4])'), |
| 630 | 'lift_availability' => $this->integer()->comment('Наявність пандусів, механічних підйомників на вході та виході із споруди (згідно з [4])'), | 772 | 'lift_availability' => $this->integer()->comment('Наявність пандусів, механічних підйомників на вході та виході із споруди (згідно з [4])'), |
| 631 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), | 773 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), |
| 632 | 'overground_crossing_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.34)'), | 774 | 'overground_crossing_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.34)'), |
| 633 | - 'stair_total_length' => $this->decimal()->comment('Загальна довжина сходів на підході до споруди (у метрах; з двома цифрами після коми)'), | ||
| 634 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 775 | + 'stair_total_length' => $this->float()->comment('Загальна довжина сходів на підході до споруди (у метрах; з двома цифрами після коми)'), |
| 776 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | ||
| 635 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), | 777 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), |
| 636 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 778 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 637 | ]); | 779 | ]); |
| @@ -644,18 +786,18 @@ class m160609_074818_tables extends Migration | @@ -644,18 +786,18 @@ class m160609_074818_tables extends Migration | ||
| 644 | 'year_build' => $this->text()->comment('Рік побудови'), | 786 | 'year_build' => $this->text()->comment('Рік побудови'), |
| 645 | 'year_reconstruction' => $this->text()->comment('Рік реконструкції'), | 787 | 'year_reconstruction' => $this->text()->comment('Рік реконструкції'), |
| 646 | 'nearest_settlement_name' => $this->text()->comment('Назва найближчого населеного пункту'), | 788 | 'nearest_settlement_name' => $this->text()->comment('Назва найближчого населеного пункту'), |
| 647 | - 'nearest_settlement_distance' => $this->decimal()->comment('Відстань до найближчого населеного пункту (в кілометрах; з двома цифрами після коми)'), | ||
| 648 | - 'load_project' => $this->decimal()->comment('Проектне навантаження (в кілометрах; з двома цифрами після коми)'), | ||
| 649 | - 'load_fact' => $this->decimal()->comment('Фактичне навантаження (в кілометрах; з двома цифрами після коми)'), | 789 | + 'nearest_settlement_distance' => $this->float()->comment('Відстань до найближчого населеного пункту (в кілометрах; з двома цифрами після коми)'), |
| 790 | + 'load_project' => $this->float()->comment('Проектне навантаження (в кілометрах; з двома цифрами після коми)'), | ||
| 791 | + 'load_fact' => $this->float()->comment('Фактичне навантаження (в кілометрах; з двома цифрами після коми)'), | ||
| 650 | 'state' => $this->integer()->comment('Технічний стан (згідно з [4])'), | 792 | 'state' => $this->integer()->comment('Технічний стан (згідно з [4])'), |
| 651 | - 'roadway_width' => $this->decimal()->comment('Ширина автомобільної дороги по верху земляного полотна (у метрах; з двома цифрами після коми)'), | ||
| 652 | - 'cross_angle' => $this->decimal()->comment('Кут перетину (в градусах; з двома цифрами після коми)'), | ||
| 653 | - 'length' => $this->decimal()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), | ||
| 654 | - 'height' => $this->decimal()->comment('Висота споруди (у метрах; з двома цифрами після коми)'), | ||
| 655 | - 'width' => $this->decimal()->comment('Ширина споруди (у метрах; з двома цифрами після коми)'), | ||
| 656 | - 'bridge_under_height' => $this->decimal()->comment('Висота підмостового габариту (у метрах; з двома цифрами після коми)'), | ||
| 657 | - 'bridge_under_width' => $this->decimal()->comment('Ширина підмостового габариту (у метрах; з двома цифрами після коми)'), | ||
| 658 | - 'bridge_hole' => $this->decimal()->comment('Отвір моста (у метрах; з двома цифрами після коми)'), | 793 | + 'roadway_width' => $this->float()->comment('Ширина автомобільної дороги по верху земляного полотна (у метрах; з двома цифрами після коми)'), |
| 794 | + 'cross_angle' => $this->float()->comment('Кут перетину (в градусах; з двома цифрами після коми)'), | ||
| 795 | + 'length' => $this->float()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), | ||
| 796 | + 'height' => $this->float()->comment('Висота споруди (у метрах; з двома цифрами після коми)'), | ||
| 797 | + 'width' => $this->float()->comment('Ширина споруди (у метрах; з двома цифрами після коми)'), | ||
| 798 | + 'bridge_under_height' => $this->float()->comment('Висота підмостового габариту (у метрах; з двома цифрами після коми)'), | ||
| 799 | + 'bridge_under_width' => $this->float()->comment('Ширина підмостового габариту (у метрах; з двома цифрами після коми)'), | ||
| 800 | + 'bridge_hole' => $this->float()->comment('Отвір моста (у метрах; з двома цифрами після коми)'), | ||
| 659 | 'bearing_structures_long_scheme' => $this->text()->comment('Поздовжня схема несучих конструкцій ліворуч направо по ходу прямого напрямку руху'), | 801 | 'bearing_structures_long_scheme' => $this->text()->comment('Поздовжня схема несучих конструкцій ліворуч направо по ходу прямого напрямку руху'), |
| 660 | 'slope_long_scheme' => $this->text()->comment('Поздовжня схема похилів'), | 802 | 'slope_long_scheme' => $this->text()->comment('Поздовжня схема похилів'), |
| 661 | 'barrier_material_type_id' => $this->integer()->comment('Матеріал перил (згідно з [4])'), | 803 | 'barrier_material_type_id' => $this->integer()->comment('Матеріал перил (згідно з [4])'), |
| @@ -665,14 +807,14 @@ class m160609_074818_tables extends Migration | @@ -665,14 +807,14 @@ class m160609_074818_tables extends Migration | ||
| 665 | 'deformation_joint_type_id' => $this->integer()->comment('Типи деформаційних швів (згідно з [4])'), | 807 | 'deformation_joint_type_id' => $this->integer()->comment('Типи деформаційних швів (згідно з [4])'), |
| 666 | 'communication_type_id' => $this->integer()->comment('Тип комунікації, яка перепускається спорудою (згідно з [4])'), | 808 | 'communication_type_id' => $this->integer()->comment('Тип комунікації, яка перепускається спорудою (згідно з [4])'), |
| 667 | 'drainage_type_id' => $this->integer()->comment('Тип водовідведення (згідно з [4])'), | 809 | 'drainage_type_id' => $this->integer()->comment('Тип водовідведення (згідно з [4])'), |
| 668 | - 'drainage_tray_length' => $this->decimal()->comment('Загальна довжина лотків зливової каналізації (у метрах; з двома цифрами після коми)'), | ||
| 669 | - 'drainage_collector_length' => $this->decimal()->comment('Загальна довжина колекторів зливової каналізації (у метрах; з двома цифрами після коми)'), | 810 | + 'drainage_tray_length' => $this->float()->comment('Загальна довжина лотків зливової каналізації (у метрах; з двома цифрами після коми)'), |
| 811 | + 'drainage_collector_length' => $this->float()->comment('Загальна довжина колекторів зливової каналізації (у метрах; з двома цифрами після коми)'), | ||
| 670 | 'approach_left' => $this->integer()->comment('Споруди підходів ліворуч (згідно з [4])'), | 812 | 'approach_left' => $this->integer()->comment('Споруди підходів ліворуч (згідно з [4])'), |
| 671 | 'approach_right' => $this->integer()->comment('Споруди підходів праворуч (згідно з [4])'), | 813 | 'approach_right' => $this->integer()->comment('Споруди підходів праворуч (згідно з [4])'), |
| 672 | 'add_on_availability' => $this->integer()->comment('Надбудова (згідно з [4])'), | 814 | 'add_on_availability' => $this->integer()->comment('Надбудова (згідно з [4])'), |
| 673 | 'light_availability' => $this->integer()->comment('Наявність штучного освітлення (згідно з [4])'), | 815 | 'light_availability' => $this->integer()->comment('Наявність штучного освітлення (згідно з [4])'), |
| 674 | 'inventory_device_availability' => $this->integer()->comment('Наявність інвентарних пристроїв для огляду та ремонту (згідно з [4])'), | 816 | 'inventory_device_availability' => $this->integer()->comment('Наявність інвентарних пристроїв для огляду та ремонту (згідно з [4])'), |
| 675 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість (у тисячах гривень; з двома цифрами після коми)'), | 817 | + 'balance_cost' => $this->float()->comment('Балансова вартість (у тисячах гривень; з двома цифрами після коми)'), |
| 676 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), | 818 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), |
| 677 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 819 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 678 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), | 820 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), |
| @@ -696,15 +838,15 @@ class m160609_074818_tables extends Migration | @@ -696,15 +838,15 @@ class m160609_074818_tables extends Migration | ||
| 696 | 'overground_crossing_approach_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | 838 | 'overground_crossing_approach_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), |
| 697 | 'location' => $this->text()->comment('Розташування споруди'), | 839 | 'location' => $this->text()->comment('Розташування споруди'), |
| 698 | 'constrution_type_id' => $this->integer()->comment('Тип споруди (згідно з [4])'), | 840 | 'constrution_type_id' => $this->integer()->comment('Тип споруди (згідно з [4])'), |
| 699 | - 'length' => $this->decimal()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), | ||
| 700 | - 'height' => $this->decimal()->comment('Висота споруди (у метрах; з двома цифрами після коми)'), | ||
| 701 | - 'width' => $this->decimal()->comment('Ширина споруди (у метрах; з двома цифрами після коми)'), | 841 | + 'length' => $this->float()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), |
| 842 | + 'height' => $this->float()->comment('Висота споруди (у метрах; з двома цифрами після коми)'), | ||
| 843 | + 'width' => $this->float()->comment('Ширина споруди (у метрах; з двома цифрами після коми)'), | ||
| 702 | 'another_first_type_material_id' => $this->integer()->comment('Матеріал споруди 1-го типу (згідно з [4])'), | 844 | 'another_first_type_material_id' => $this->integer()->comment('Матеріал споруди 1-го типу (згідно з [4])'), |
| 703 | - 'another_first_type_capacity' => $this->decimal()->comment('Обєм матеріалів 1-го типу (у кубічних метрах; з двома цифрами після коми)'), | 845 | + 'another_first_type_capacity' => $this->float()->comment('Обєм матеріалів 1-го типу (у кубічних метрах; з двома цифрами після коми)'), |
| 704 | 'another_second_type_material_id' => $this->integer()->comment('Матеріал споруди 2-го типу (згідно з [4])'), | 846 | 'another_second_type_material_id' => $this->integer()->comment('Матеріал споруди 2-го типу (згідно з [4])'), |
| 705 | - 'another_second_type_capacity' => $this->decimal()->comment('Обєм матеріалів 2-го типу (у кубічних метрах; з двома цифрами після коми)'), | 847 | + 'another_second_type_capacity' => $this->float()->comment('Обєм матеріалів 2-го типу (у кубічних метрах; з двома цифрами після коми)'), |
| 706 | 'another_third_type_material_id' => $this->integer()->comment('Матеріал споруди 3-го типу (згідно з [4])'), | 848 | 'another_third_type_material_id' => $this->integer()->comment('Матеріал споруди 3-го типу (згідно з [4])'), |
| 707 | - 'another_third_type_capacity' => $this->decimal()->comment('Обєм матеріалів 3-го типу (у кубічних метрах; з двома цифрами після коми)'), | 849 | + 'another_third_type_capacity' => $this->float()->comment('Обєм матеріалів 3-го типу (у кубічних метрах; з двома цифрами після коми)'), |
| 708 | 'related_lift_construction_left_type_id' => $this->integer()->comment('Тип супутніх підйомних споруд ліворуч (згідно з [4])'), | 850 | 'related_lift_construction_left_type_id' => $this->integer()->comment('Тип супутніх підйомних споруд ліворуч (згідно з [4])'), |
| 709 | 'related_lift_construction_right_type_id' => $this->integer()->comment('Тип супутніх підйомних споруд праворуч (згідно з [4])'), | 851 | 'related_lift_construction_right_type_id' => $this->integer()->comment('Тип супутніх підйомних споруд праворуч (згідно з [4])'), |
| 710 | 'construction_coords_left' => $this->string()->comment('Координати споруди ліворуч (геодані)'), | 852 | 'construction_coords_left' => $this->string()->comment('Координати споруди ліворуч (геодані)'), |
| @@ -718,15 +860,15 @@ class m160609_074818_tables extends Migration | @@ -718,15 +860,15 @@ class m160609_074818_tables extends Migration | ||
| 718 | 'road_name' => $this->string()->comment('Назва автомобільної дороги або під\'їзду (обходу, транспортної розв\'язки) в складі титулу (згідно з [5])'), | 860 | 'road_name' => $this->string()->comment('Назва автомобільної дороги або під\'їзду (обходу, транспортної розв\'язки) в складі титулу (згідно з [5])'), |
| 719 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), | 861 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), |
| 720 | 'position' => $this->string()->comment('Положення предмета захисту (псевдогеодані)'), | 862 | 'position' => $this->string()->comment('Положення предмета захисту (псевдогеодані)'), |
| 721 | - 'road_distance' => $this->decimal()->comment('Відстань від дороги (у метрах; з двома цифрами після коми)'), | 863 | + 'road_distance' => $this->float()->comment('Відстань від дороги (у метрах; з двома цифрами після коми)'), |
| 722 | 'constrution_type_id' => $this->integer()->comment('Тип споруди (згідно з [4])'), | 864 | 'constrution_type_id' => $this->integer()->comment('Тип споруди (згідно з [4])'), |
| 723 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), | 865 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), |
| 724 | - 'length' => $this->decimal()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), | ||
| 725 | - 'height' => $this->decimal()->comment('Висота споруди (у метрах; з двома цифрами після коми)'), | ||
| 726 | - 'width' => $this->decimal()->comment('Ширина споруди (у метрах; з двома цифрами після коми)'), | 866 | + 'length' => $this->float()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), |
| 867 | + 'height' => $this->float()->comment('Висота споруди (у метрах; з двома цифрами після коми)'), | ||
| 868 | + 'width' => $this->float()->comment('Ширина споруди (у метрах; з двома цифрами після коми)'), | ||
| 727 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), | 869 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), |
| 728 | 'sel_protection_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.37)'), | 870 | 'sel_protection_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.37)'), |
| 729 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 871 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 730 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), | 872 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), |
| 731 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 873 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 732 | ]); | 874 | ]); |
| @@ -739,28 +881,28 @@ class m160609_074818_tables extends Migration | @@ -739,28 +881,28 @@ class m160609_074818_tables extends Migration | ||
| 739 | 'position' => $this->string()->comment('Положення предмета захисту (псевдогеодані)'), | 881 | 'position' => $this->string()->comment('Положення предмета захисту (псевдогеодані)'), |
| 740 | 'protection_object_id' => $this->integer()->comment('Предмет захисту (згідно з [4])'), | 882 | 'protection_object_id' => $this->integer()->comment('Предмет захисту (згідно з [4])'), |
| 741 | 'constrution_type_id' => $this->integer()->comment('Тип споруди (згідно з [4])'), | 883 | 'constrution_type_id' => $this->integer()->comment('Тип споруди (згідно з [4])'), |
| 742 | - 'road_distance' => $this->decimal()->comment('Відстань від дороги (у метрах; з двома цифрами після коми)'), | 884 | + 'road_distance' => $this->float()->comment('Відстань від дороги (у метрах; з двома цифрами після коми)'), |
| 743 | 'year_build' => $this->text()->comment('Рік побудови'), | 885 | 'year_build' => $this->text()->comment('Рік побудови'), |
| 744 | 'year_reconstruction' => $this->text()->comment('Рік реконструкції'), | 886 | 'year_reconstruction' => $this->text()->comment('Рік реконструкції'), |
| 745 | 'nearest_settlement_name' => $this->text()->comment('Назва найближчого населеного пункту'), | 887 | 'nearest_settlement_name' => $this->text()->comment('Назва найближчого населеного пункту'), |
| 746 | - 'nearest_settlement_distance' => $this->decimal()->comment('Відстань до найближчого населеного пункту (в кілометрах; з двома цифрами після коми)'), | ||
| 747 | - 'load_project' => $this->decimal()->comment('Проектне навантаження (в тоннах; з двома цифрами після коми)'), | ||
| 748 | - 'load_fact' => $this->decimal()->comment('Фактичне навантаження (в тоннах; з двома цифрами після коми)'), | 888 | + 'nearest_settlement_distance' => $this->float()->comment('Відстань до найближчого населеного пункту (в кілометрах; з двома цифрами після коми)'), |
| 889 | + 'load_project' => $this->float()->comment('Проектне навантаження (в тоннах; з двома цифрами після коми)'), | ||
| 890 | + 'load_fact' => $this->float()->comment('Фактичне навантаження (в тоннах; з двома цифрами після коми)'), | ||
| 749 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), | 891 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), |
| 750 | 'thalweg_type_id' => $this->integer()->comment('Тип тальвегу (згідно з [4])'), | 892 | 'thalweg_type_id' => $this->integer()->comment('Тип тальвегу (згідно з [4])'), |
| 751 | - 'watercourse_rmv_width' => $this->decimal()->comment('Ширина водотоку по дзеркалу РМВ (у метрах; з двома цифрами після коми)'), | ||
| 752 | - 'flow_rmv_speed' => $this->decimal()->comment('Швидкість течії при РМВ (у метрах на секунду; з двома цифрами після коми)'), | ||
| 753 | - 'watercourse_rvv_width' => $this->decimal()->comment('Ширина водотоку по дзеркалу РВВ (у метрах; з двома цифрами після коми)'), | ||
| 754 | - 'cross_angle' => $this->decimal()->comment('Кут перетину (в градусах; з двома цифрами після коми)'), | ||
| 755 | - 'length' => $this->decimal()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), | ||
| 756 | - 'height' => $this->decimal()->comment('Висота споруди (у метрах; з двома цифрами після коми)'), | ||
| 757 | - 'width' => $this->decimal()->comment('Ширина споруди (у метрах; з двома цифрами після коми)'), | 893 | + 'watercourse_rmv_width' => $this->float()->comment('Ширина водотоку по дзеркалу РМВ (у метрах; з двома цифрами після коми)'), |
| 894 | + 'flow_rmv_speed' => $this->float()->comment('Швидкість течії при РМВ (у метрах на секунду; з двома цифрами після коми)'), | ||
| 895 | + 'watercourse_rvv_width' => $this->float()->comment('Ширина водотоку по дзеркалу РВВ (у метрах; з двома цифрами після коми)'), | ||
| 896 | + 'cross_angle' => $this->float()->comment('Кут перетину (в градусах; з двома цифрами після коми)'), | ||
| 897 | + 'length' => $this->float()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), | ||
| 898 | + 'height' => $this->float()->comment('Висота споруди (у метрах; з двома цифрами після коми)'), | ||
| 899 | + 'width' => $this->float()->comment('Ширина споруди (у метрах; з двома цифрами після коми)'), | ||
| 758 | 'material_id' => $this->integer()->comment('Матеріал споруди (згідно з [4])'), | 900 | 'material_id' => $this->integer()->comment('Матеріал споруди (згідно з [4])'), |
| 759 | - 'capacity' => $this->decimal()->comment('Обєм споруди (у кубічних метрах; з двома цифрами після коми)'), | 901 | + 'capacity' => $this->float()->comment('Обєм споруди (у кубічних метрах; з двома цифрами після коми)'), |
| 760 | 'communication_type_id' => $this->integer()->comment('Тип комунікації, яка перепускається спорудою (згідно з [4])'), | 902 | 'communication_type_id' => $this->integer()->comment('Тип комунікації, яка перепускається спорудою (згідно з [4])'), |
| 761 | 'drainage_type_id' => $this->integer()->comment('Тип водовідведення (згідно з [4])'), | 903 | 'drainage_type_id' => $this->integer()->comment('Тип водовідведення (згідно з [4])'), |
| 762 | - 'drainage_length' => $this->decimal()->comment('Загальна довжина водовідвідних елементів (у метрах; з двома цифрами після коми)'), | ||
| 763 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 904 | + 'drainage_length' => $this->float()->comment('Загальна довжина водовідвідних елементів (у метрах; з двома цифрами після коми)'), |
| 905 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | ||
| 764 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), | 906 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), |
| 765 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 907 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 766 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), | 908 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), |
| @@ -784,9 +926,9 @@ class m160609_074818_tables extends Migration | @@ -784,9 +926,9 @@ class m160609_074818_tables extends Migration | ||
| 784 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), | 926 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), |
| 785 | 'position' => $this->string()->comment('Положення предмета захисту (псевдогеодані)'), | 927 | 'position' => $this->string()->comment('Положення предмета захисту (псевдогеодані)'), |
| 786 | 'obstacle_type_id' => $this->integer()->comment('Вид перешкоди (згідно з [4])'), | 928 | 'obstacle_type_id' => $this->integer()->comment('Вид перешкоди (згідно з [4])'), |
| 787 | - 'length' => $this->decimal()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), | ||
| 788 | - 'height' => $this->decimal()->comment('Висота споруди (у метрах; з двома цифрами після коми)'), | ||
| 789 | - 'width' => $this->decimal()->comment('Ширина споруди (у метрах; з двома цифрами після коми)'), | 929 | + 'length' => $this->float()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), |
| 930 | + 'height' => $this->float()->comment('Висота споруди (у метрах; з двома цифрами після коми)'), | ||
| 931 | + 'width' => $this->float()->comment('Ширина споруди (у метрах; з двома цифрами після коми)'), | ||
| 790 | 'culvert_elements_entrance_count' => $this->integer()->comment('Кількість ВПЕ на вході'), | 932 | 'culvert_elements_entrance_count' => $this->integer()->comment('Кількість ВПЕ на вході'), |
| 791 | 'culvert_elements_exit_count' => $this->integer()->comment('Кількість ВПЕ на виході'), | 933 | 'culvert_elements_exit_count' => $this->integer()->comment('Кількість ВПЕ на виході'), |
| 792 | 'header_entrance_count' => $this->integer()->comment('Кількість оголовків на вході'), | 934 | 'header_entrance_count' => $this->integer()->comment('Кількість оголовків на вході'), |
| @@ -794,7 +936,7 @@ class m160609_074818_tables extends Migration | @@ -794,7 +936,7 @@ class m160609_074818_tables extends Migration | ||
| 794 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), | 936 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), |
| 795 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), | 937 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), |
| 796 | 'drainage_pipe_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.39)'), | 938 | 'drainage_pipe_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.39)'), |
| 797 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 939 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 798 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), | 940 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), |
| 799 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 941 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 800 | ]); | 942 | ]); |
| @@ -809,13 +951,13 @@ class m160609_074818_tables extends Migration | @@ -809,13 +951,13 @@ class m160609_074818_tables extends Migration | ||
| 809 | 'obstacle_type_id' => $this->integer()->comment('Вид перешкоди (згідно з [4])'), | 951 | 'obstacle_type_id' => $this->integer()->comment('Вид перешкоди (згідно з [4])'), |
| 810 | 'flow_km_direction' => $this->integer()->comment('Напрямок течії по ходу кілометражу (згідно з [4])'), | 952 | 'flow_km_direction' => $this->integer()->comment('Напрямок течії по ходу кілометражу (згідно з [4])'), |
| 811 | 'communication_type_id' => $this->integer()->comment('Тип комунікації, яка перепускається спорудою (згідно з [4])'), | 953 | 'communication_type_id' => $this->integer()->comment('Тип комунікації, яка перепускається спорудою (згідно з [4])'), |
| 812 | - 'road_surface_up_height' => $this->decimal()->comment('Висота земляного полотна над трубою (у метрах; з двома цифрами після коми)'), | 954 | + 'road_surface_up_height' => $this->float()->comment('Висота земляного полотна над трубою (у метрах; з двома цифрами після коми)'), |
| 813 | 'culvert_elements_entrance_count' => $this->integer()->comment('Кількість ВПЕ на вході'), | 955 | 'culvert_elements_entrance_count' => $this->integer()->comment('Кількість ВПЕ на вході'), |
| 814 | 'culvert_elements_exit_count' => $this->integer()->comment('Кількість ВПЕ на виході'), | 956 | 'culvert_elements_exit_count' => $this->integer()->comment('Кількість ВПЕ на виході'), |
| 815 | 'header_entrance_count' => $this->integer()->comment('Кількість оголовків на вході'), | 957 | 'header_entrance_count' => $this->integer()->comment('Кількість оголовків на вході'), |
| 816 | 'header_exit_count' => $this->integer()->comment('Кількість оголовків на виході'), | 958 | 'header_exit_count' => $this->integer()->comment('Кількість оголовків на виході'), |
| 817 | - 'culvert_elements_area' => $this->decimal()->comment('Сумарна площа всіх ВПЕ (у квадратних метрах; з двома цифрами після коми)'), | ||
| 818 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 959 | + 'culvert_elements_area' => $this->float()->comment('Сумарна площа всіх ВПЕ (у квадратних метрах; з двома цифрами після коми)'), |
| 960 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | ||
| 819 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), | 961 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), |
| 820 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 962 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 821 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), | 963 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), |
| @@ -843,17 +985,17 @@ class m160609_074818_tables extends Migration | @@ -843,17 +985,17 @@ class m160609_074818_tables extends Migration | ||
| 843 | 'culvert_element_number' => $this->integer()->comment('Номер ВПЕ'), | 985 | 'culvert_element_number' => $this->integer()->comment('Номер ВПЕ'), |
| 844 | 'section_long_scheme' => $this->text()->comment('Поздовжня схема перерізів'), | 986 | 'section_long_scheme' => $this->text()->comment('Поздовжня схема перерізів'), |
| 845 | 'section_type_id' => $this->integer()->comment('Тип перерізу (згідно з [4])'), | 987 | 'section_type_id' => $this->integer()->comment('Тип перерізу (згідно з [4])'), |
| 846 | - 'length' => $this->decimal()->comment('Довжина (у метрах; з двома цифрами після коми)'), | ||
| 847 | - 'height' => $this->decimal()->comment('Висота отвору (у метрах; з двома цифрами після коми)'), | ||
| 848 | - 'width' => $this->decimal()->comment('Ширина отвору (у метрах; з двома цифрами після коми)'), | 988 | + 'length' => $this->float()->comment('Довжина (у метрах; з двома цифрами після коми)'), |
| 989 | + 'height' => $this->float()->comment('Висота отвору (у метрах; з двома цифрами після коми)'), | ||
| 990 | + 'width' => $this->float()->comment('Ширина отвору (у метрах; з двома цифрами після коми)'), | ||
| 849 | 'culvert_element_work_id' => $this->integer()->comment('Характер роботи ВПЕ (згідно з [4])'), | 991 | 'culvert_element_work_id' => $this->integer()->comment('Характер роботи ВПЕ (згідно з [4])'), |
| 850 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), | 992 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), |
| 851 | 'fortified_additional_bottom' => $this->integer()->comment('Додаткове укріплення дна (згідно з [4])'), | 993 | 'fortified_additional_bottom' => $this->integer()->comment('Додаткове укріплення дна (згідно з [4])'), |
| 852 | - 'capacity' => $this->decimal()->comment('Об\'єм тіла ВПЕ (у кубічних метрах; з двома цифрами після коми)'), | ||
| 853 | - 'foundation_thick' => $this->decimal()->comment('Товщина фундаменту (у метрах; з двома цифрами після коми)'), | 994 | + 'capacity' => $this->float()->comment('Об\'єм тіла ВПЕ (у кубічних метрах; з двома цифрами після коми)'), |
| 995 | + 'foundation_thick' => $this->float()->comment('Товщина фундаменту (у метрах; з двома цифрами після коми)'), | ||
| 854 | 'foundation_material_id' => $this->integer()->comment('Матеріал фундаменту (згідно з [4])'), | 996 | 'foundation_material_id' => $this->integer()->comment('Матеріал фундаменту (згідно з [4])'), |
| 855 | 'basement_material_id' => $this->integer()->comment('Матеріал основи (згідно з [4])'), | 997 | 'basement_material_id' => $this->integer()->comment('Матеріал основи (згідно з [4])'), |
| 856 | - 'foundation_basement_capacity' => $this->decimal()->comment('Загальний обєм фундаменту та основи (у кубічних метрах; з двома цифрами після коми)'), | 998 | + 'foundation_basement_capacity' => $this->float()->comment('Загальний обєм фундаменту та основи (у кубічних метрах; з двома цифрами після коми)'), |
| 857 | 'waterproof_type_id' => $this->integer()->comment('Тип гідроізоляції (згідно з [4])'), | 999 | 'waterproof_type_id' => $this->integer()->comment('Тип гідроізоляції (згідно з [4])'), |
| 858 | ]); | 1000 | ]); |
| 859 | $this->addCommentOnTable('culvert_element_card', 'Дані про ВПЕ'); | 1001 | $this->addCommentOnTable('culvert_element_card', 'Дані про ВПЕ'); |
| @@ -865,15 +1007,15 @@ class m160609_074818_tables extends Migration | @@ -865,15 +1007,15 @@ class m160609_074818_tables extends Migration | ||
| 865 | 'culvert_elements_junction_numbers' => $this->text()->comment('Номери ВПЕ, поєднаних оголовком'), | 1007 | 'culvert_elements_junction_numbers' => $this->text()->comment('Номери ВПЕ, поєднаних оголовком'), |
| 866 | 'header_type_id' => $this->integer()->comment('Тип оголовка (згідно з [4])'), | 1008 | 'header_type_id' => $this->integer()->comment('Тип оголовка (згідно з [4])'), |
| 867 | 'header_first_type_material_id' => $this->integer()->comment('Матеріал портальної стінки порталу 1-го типу (згідно з [4])'), | 1009 | 'header_first_type_material_id' => $this->integer()->comment('Матеріал портальної стінки порталу 1-го типу (згідно з [4])'), |
| 868 | - 'header_first_type_capacity' => $this->decimal()->comment('Обєм матеріалів 1-го типу (у кубічних метрах; з двома цифрами після коми)'), | 1010 | + 'header_first_type_capacity' => $this->float()->comment('Обєм матеріалів 1-го типу (у кубічних метрах; з двома цифрами після коми)'), |
| 869 | 'header_second_type_material_id' => $this->integer()->comment('Матеріал портальної стінки порталу 2-го типу (згідно з [4])'), | 1011 | 'header_second_type_material_id' => $this->integer()->comment('Матеріал портальної стінки порталу 2-го типу (згідно з [4])'), |
| 870 | - 'header_second_type_capacity' => $this->decimal()->comment('Обєм матеріалів 2-го типу (у кубічних метрах; з двома цифрами після коми)'), | 1012 | + 'header_second_type_capacity' => $this->float()->comment('Обєм матеріалів 2-го типу (у кубічних метрах; з двома цифрами після коми)'), |
| 871 | 'wing_material_id' => $this->integer()->comment('Матеріал відкрилків (згідно з [4])'), | 1013 | 'wing_material_id' => $this->integer()->comment('Матеріал відкрилків (згідно з [4])'), |
| 872 | 'wing_capacity' => $this->integer()->comment('Об\'єм тіла відкрилків (у кубічних метрах; з двома цифрами після коми)'), | 1014 | 'wing_capacity' => $this->integer()->comment('Об\'єм тіла відкрилків (у кубічних метрах; з двома цифрами після коми)'), |
| 873 | - 'foundation_thick' => $this->decimal()->comment('Товщина фундаменту (у метрах; з двома цифрами після коми)'), | 1015 | + 'foundation_thick' => $this->float()->comment('Товщина фундаменту (у метрах; з двома цифрами після коми)'), |
| 874 | 'foundation_material_id' => $this->integer()->comment('Матеріал фундаменту (згідно з [4])'), | 1016 | 'foundation_material_id' => $this->integer()->comment('Матеріал фундаменту (згідно з [4])'), |
| 875 | 'basement_type_id' => $this->integer()->comment('Тип основи (згідно з [4])'), | 1017 | 'basement_type_id' => $this->integer()->comment('Тип основи (згідно з [4])'), |
| 876 | - 'foundation_basement_capacity' => $this->decimal()->comment('Загальний обєм фундаменту та основи (у кубічних метрах; з двома цифрами після коми)'), | 1018 | + 'foundation_basement_capacity' => $this->float()->comment('Загальний обєм фундаменту та основи (у кубічних метрах; з двома цифрами після коми)'), |
| 877 | 'fortified_channel_material_id' => $this->integer()->comment('Матеріал укріплення русла (згідно з [4])'), | 1019 | 'fortified_channel_material_id' => $this->integer()->comment('Матеріал укріплення русла (згідно з [4])'), |
| 878 | 'regulatory_type_id' => $this->integer()->comment('Тип регуляційних елементів (згідно з [4])'), | 1020 | 'regulatory_type_id' => $this->integer()->comment('Тип регуляційних елементів (згідно з [4])'), |
| 879 | 'fortified_mound_header_material_id' => $this->integer()->comment('Матеріал укріплення насипу біля оголовка (згідно з [4])'), | 1021 | 'fortified_mound_header_material_id' => $this->integer()->comment('Матеріал укріплення насипу біля оголовка (згідно з [4])'), |
| @@ -881,37 +1023,41 @@ class m160609_074818_tables extends Migration | @@ -881,37 +1023,41 @@ class m160609_074818_tables extends Migration | ||
| 881 | $this->addCommentOnTable('header_card', 'Дані про оголовок'); | 1023 | $this->addCommentOnTable('header_card', 'Дані про оголовок'); |
| 882 | 1024 | ||
| 883 | // Table 5.42 | 1025 | // Table 5.42 |
| 884 | - $this->createTable('bus_station', [ | ||
| 885 | - 'bus_station_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | ||
| 886 | - 'road_name' => $this->string()->comment('Назва автомобільної дороги або під\'їзду (обходу, транспортної розв\'язки) в складі титулу (згідно з [5])'), | 1026 | + $this->createTable('bus_stop', [ |
| 1027 | + 'bus_stop_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | ||
| 1028 | + 'road_id' => $this->integer()->comment('Назва автомобільної дороги або під\'їзду (обходу, транспортної розв\'язки) в складі титулу (згідно з [5])'), | ||
| 1029 | + 'region_id' => $this->integer()->comment('Область'), | ||
| 1030 | + 'settlement_id' => $this->integer()->comment('Назва населеного пункту'), | ||
| 1031 | + 'location_left' => $this->float()->comment('Місцезнаходження, км+ зліва'), | ||
| 1032 | + 'location_right' => $this->float()->comment('Місцезнаходження, км+ справа'), | ||
| 1033 | + 'surface_type_id' => $this->integer()->comment('Покриття посадочного майданчика (згідно з [4])'), | ||
| 887 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), | 1034 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), |
| 888 | 'position' => $this->string()->comment('Положення споруди (псевдогеодані)'), | 1035 | 'position' => $this->string()->comment('Положення споруди (псевдогеодані)'), |
| 889 | - 'pavilion_availability' => $this->integer()->comment('Наявність автопавільйона (згідно з [4])'), | 1036 | + 'area_stop_availability' => $this->integer()->comment('Наявність автопавільйона (згідно з [4])'), |
| 890 | 'pocket_availability' => $this->integer()->comment('Наявність заїзної кишені (згідно з [4])'), | 1037 | 'pocket_availability' => $this->integer()->comment('Наявність заїзної кишені (згідно з [4])'), |
| 891 | - 'landing_surface_availability' => $this->integer()->comment('Наявність посадкового майданчика з удосконаленим покриттям (згідно з [4])'), | 1038 | + 'area_land_availability' => $this->integer()->comment('Наявність посадкового майданчика з удосконаленим покриттям (згідно з [4])'), |
| 892 | 'toilet_availability' => $this->integer()->comment('Наявність туалета (згідно з [4])'), | 1039 | 'toilet_availability' => $this->integer()->comment('Наявність туалета (згідно з [4])'), |
| 893 | - 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), | 1040 | + 'state_common_id' => $this->integer()->comment('Стан споруди (згідно з [4])'), |
| 894 | 'bus_station_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.43)'), | 1041 | 'bus_station_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.43)'), |
| 895 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 1042 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 896 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), | 1043 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), |
| 897 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 1044 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 1045 | + 'year_build' => $this->integer()->comment('Рік побудови'), | ||
| 1046 | + 'year_repair' => $this->integer()->comment('Рік реконструкції'), | ||
| 898 | ]); | 1047 | ]); |
| 899 | - $this->addCommentOnTable('bus_station', 'Облікова відомість автобусних зупинок та автопавільйонів'); | 1048 | + $this->addCommentOnTable('bus_stop', 'Облікова відомість автобусних зупинок та автопавільйонів'); |
| 900 | 1049 | ||
| 901 | // Table 5.43 | 1050 | // Table 5.43 |
| 902 | - $this->createTable('bus_station_card', [ | ||
| 903 | - 'bus_station_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | 1051 | + $this->createTable('bus_stop_card', [ |
| 1052 | + 'bus_stop_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | ||
| 904 | 'position' => $this->string()->comment('Положення споруди (псевдогеодані)'), | 1053 | 'position' => $this->string()->comment('Положення споруди (псевдогеодані)'), |
| 905 | 'location' => $this->text()->comment('Розташування'), | 1054 | 'location' => $this->text()->comment('Розташування'), |
| 906 | 'name' => $this->text()->comment('Власна назва'), | 1055 | 'name' => $this->text()->comment('Власна назва'), |
| 907 | - 'year_build' => $this->text()->comment('Рік побудови'), | ||
| 908 | - 'year_reconstruction' => $this->text()->comment('Рік реконструкції'), | ||
| 909 | - 'pavilion_availability' => $this->integer()->comment('Наявність автопавільйона (згідно з [4])'), | 1056 | + 'area_stop_availability' => $this->integer()->comment('Наявність автопавільйона (згідно з [4])'), |
| 910 | 'pocket_availability' => $this->integer()->comment('Наявність заїзної кишені (згідно з [4])'), | 1057 | 'pocket_availability' => $this->integer()->comment('Наявність заїзної кишені (згідно з [4])'), |
| 911 | - 'landing_surface_availability' => $this->integer()->comment('Наявність посадкового майданчика з удосконаленим покриттям (згідно з [4])'), | ||
| 912 | - 'landing_surface_material_id' => $this->integer()->comment('Покриття посадочного майданчика (згідно з [4])'), | 1058 | + 'area_land_availability' => $this->integer()->comment('Наявність посадкового майданчика з удосконаленим покриттям (згідно з [4])'), |
| 913 | 'toilet_availability' => $this->integer()->comment('Наявність туалета (згідно з [4])'), | 1059 | 'toilet_availability' => $this->integer()->comment('Наявність туалета (згідно з [4])'), |
| 914 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 1060 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 915 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), | 1061 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), |
| 916 | 'project_organization' => $this->text()->comment('Проектна організація'), | 1062 | 'project_organization' => $this->text()->comment('Проектна організація'), |
| 917 | 'project_year' => $this->text()->comment('Рік випуску проекту'), | 1063 | 'project_year' => $this->text()->comment('Рік випуску проекту'), |
| @@ -921,22 +1067,22 @@ class m160609_074818_tables extends Migration | @@ -921,22 +1067,22 @@ class m160609_074818_tables extends Migration | ||
| 921 | 'photo' => $this->string()->comment('Фотографії (tiff [3])'), | 1067 | 'photo' => $this->string()->comment('Фотографії (tiff [3])'), |
| 922 | 'construction_center_coords' => $this->string()->comment('Координати центру споруди (геодані)'), | 1068 | 'construction_center_coords' => $this->string()->comment('Координати центру споруди (геодані)'), |
| 923 | ]); | 1069 | ]); |
| 924 | - $this->addCommentOnTable('bus_station_card', 'Дані про автобусну зупинку'); | 1070 | + $this->addCommentOnTable('bus_stop_card', 'Дані про автобусну зупинку'); |
| 925 | 1071 | ||
| 926 | // Table 5.44 | 1072 | // Table 5.44 |
| 927 | $this->createTable('pavilion_card', [ | 1073 | $this->createTable('pavilion_card', [ |
| 928 | 'pavilion_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | 1074 | 'pavilion_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), |
| 929 | 'roof_first_type_material_id' => $this->integer()->comment('Матеріал даху 1-го типу (згідно з [4])'), | 1075 | 'roof_first_type_material_id' => $this->integer()->comment('Матеріал даху 1-го типу (згідно з [4])'), |
| 930 | - 'roof_first_type_capacity' => $this->decimal()->comment('Обєм матеріалів 1-го типу (у кубічних метрах; з двома цифрами після коми)'), | 1076 | + 'roof_first_type_capacity' => $this->float()->comment('Обєм матеріалів 1-го типу (у кубічних метрах; з двома цифрами після коми)'), |
| 931 | 'roof_second_type_material_id' => $this->integer()->comment('Матеріал даху 2-го типу (згідно з [4])'), | 1077 | 'roof_second_type_material_id' => $this->integer()->comment('Матеріал даху 2-го типу (згідно з [4])'), |
| 932 | - 'roof_second_type_capacity' => $this->decimal()->comment('Обєм матеріалів 2-го типу (у кубічних метрах; з двома цифрами після коми)'), | 1078 | + 'roof_second_type_capacity' => $this->float()->comment('Обєм матеріалів 2-го типу (у кубічних метрах; з двома цифрами після коми)'), |
| 933 | 'wall_first_type_material_id' => $this->integer()->comment('Матеріал стін 1-го типу (згідно з [4])'), | 1079 | 'wall_first_type_material_id' => $this->integer()->comment('Матеріал стін 1-го типу (згідно з [4])'), |
| 934 | - 'wall_first_type_capacity' => $this->decimal()->comment('Обєм матеріалів 1-го типу (у кубічних метрах; з двома цифрами після коми)'), | 1080 | + 'wall_first_type_capacity' => $this->float()->comment('Обєм матеріалів 1-го типу (у кубічних метрах; з двома цифрами після коми)'), |
| 935 | 'wall_second_type_material_id' => $this->integer()->comment('Матеріал стін 2-го типу (згідно з [4])'), | 1081 | 'wall_second_type_material_id' => $this->integer()->comment('Матеріал стін 2-го типу (згідно з [4])'), |
| 936 | - 'wall_second_type_capacity' => $this->decimal()->comment('Обєм матеріалів 2-го типу (у кубічних метрах; з двома цифрами після коми)'), | 1082 | + 'wall_second_type_capacity' => $this->float()->comment('Обєм матеріалів 2-го типу (у кубічних метрах; з двома цифрами після коми)'), |
| 937 | 'year_build' => $this->text()->comment('Рік побудови'), | 1083 | 'year_build' => $this->text()->comment('Рік побудови'), |
| 938 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), | 1084 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), |
| 939 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 1085 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 940 | 'pavilion_outline_coords' => $this->string()->comment('Координати контуру павільйону (геодані)'), | 1086 | 'pavilion_outline_coords' => $this->string()->comment('Координати контуру павільйону (геодані)'), |
| 941 | ]); | 1087 | ]); |
| 942 | $this->addCommentOnTable('pavilion_card', 'Дані про автопавільйон'); | 1088 | $this->addCommentOnTable('pavilion_card', 'Дані про автопавільйон'); |
| @@ -949,13 +1095,13 @@ class m160609_074818_tables extends Migration | @@ -949,13 +1095,13 @@ class m160609_074818_tables extends Migration | ||
| 949 | 'position' => $this->string()->comment('Положення середини споруди (псевдогеодані)'), | 1095 | 'position' => $this->string()->comment('Положення середини споруди (псевдогеодані)'), |
| 950 | 'begin' => $this->string()->comment('Початок споруди (псевдогеодані)'), | 1096 | 'begin' => $this->string()->comment('Початок споруди (псевдогеодані)'), |
| 951 | 'end' => $this->string()->comment('Кінець споруди (псевдогеодані)'), | 1097 | 'end' => $this->string()->comment('Кінець споруди (псевдогеодані)'), |
| 952 | - 'length' => $this->decimal()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), | 1098 | + 'length' => $this->float()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), |
| 953 | 'location' => $this->text()->comment('Розташування'), | 1099 | 'location' => $this->text()->comment('Розташування'), |
| 954 | 'constrution_type_id' => $this->integer()->comment('Тип споруди (згідно з [4])'), | 1100 | 'constrution_type_id' => $this->integer()->comment('Тип споруди (згідно з [4])'), |
| 955 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), | 1101 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), |
| 956 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), | 1102 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), |
| 957 | 'retaining_wall_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.46)'), | 1103 | 'retaining_wall_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.46)'), |
| 958 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 1104 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 959 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), | 1105 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), |
| 960 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 1106 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 961 | ]); | 1107 | ]); |
| @@ -966,7 +1112,7 @@ class m160609_074818_tables extends Migration | @@ -966,7 +1112,7 @@ class m160609_074818_tables extends Migration | ||
| 966 | 'retaining_wall_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | 1112 | 'retaining_wall_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), |
| 967 | 'begin' => $this->string()->comment('Положення початку споруди (псевдогеодані)'), | 1113 | 'begin' => $this->string()->comment('Положення початку споруди (псевдогеодані)'), |
| 968 | 'end' => $this->string()->comment('Положення кінця споруди (псевдогеодані)'), | 1114 | 'end' => $this->string()->comment('Положення кінця споруди (псевдогеодані)'), |
| 969 | - 'length' => $this->decimal()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), | 1115 | + 'length' => $this->float()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), |
| 970 | 'location' => $this->text()->comment('Розташування'), | 1116 | 'location' => $this->text()->comment('Розташування'), |
| 971 | 'constrution_type_id' => $this->integer()->comment('Тип споруди (згідно з [4])'), | 1117 | 'constrution_type_id' => $this->integer()->comment('Тип споруди (згідно з [4])'), |
| 972 | 'purpose' => $this->integer()->comment('Призначення споруди (згідно з [4])'), | 1118 | 'purpose' => $this->integer()->comment('Призначення споруди (згідно з [4])'), |
| @@ -974,9 +1120,9 @@ class m160609_074818_tables extends Migration | @@ -974,9 +1120,9 @@ class m160609_074818_tables extends Migration | ||
| 974 | 'year_reconstruction' => $this->text()->comment('Рік реконструкції'), | 1120 | 'year_reconstruction' => $this->text()->comment('Рік реконструкції'), |
| 975 | 'material_id' => $this->integer()->comment('Матеріал споруди (згідно з [4])'), | 1121 | 'material_id' => $this->integer()->comment('Матеріал споруди (згідно з [4])'), |
| 976 | 'drainage_wall_availability' => $this->integer()->comment('Наявність застінного дренажу (згідно з [4])'), | 1122 | 'drainage_wall_availability' => $this->integer()->comment('Наявність застінного дренажу (згідно з [4])'), |
| 977 | - 'material_capacity' => $this->decimal()->comment('Обєм матеріалів в споруді (у кубічних метрах; з двома цифрами після коми)'), | 1123 | + 'material_capacity' => $this->float()->comment('Обєм матеріалів в споруді (у кубічних метрах; з двома цифрами після коми)'), |
| 978 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), | 1124 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), |
| 979 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 1125 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 980 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), | 1126 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), |
| 981 | 'project_organization' => $this->text()->comment('Проектна організація'), | 1127 | 'project_organization' => $this->text()->comment('Проектна організація'), |
| 982 | 'project_year' => $this->text()->comment('Рік випуску проекту'), | 1128 | 'project_year' => $this->text()->comment('Рік випуску проекту'), |
| @@ -993,10 +1139,10 @@ class m160609_074818_tables extends Migration | @@ -993,10 +1139,10 @@ class m160609_074818_tables extends Migration | ||
| 993 | 'road_name' => $this->string()->comment('Назва автомобільної дороги або під\'їзду (обходу, транспортної розв\'язки) в складі титулу (згідно з [5])'), | 1139 | 'road_name' => $this->string()->comment('Назва автомобільної дороги або під\'їзду (обходу, транспортної розв\'язки) в складі титулу (згідно з [5])'), |
| 994 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), | 1140 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), |
| 995 | 'purpose' => $this->text()->comment('Призначення споруди'), | 1141 | 'purpose' => $this->text()->comment('Призначення споруди'), |
| 996 | - 'area' => $this->decimal()->comment('Площа (у квадратних метрах; з двома цифрами після коми)'), | 1142 | + 'area' => $this->float()->comment('Площа (у квадратних метрах; з двома цифрами після коми)'), |
| 997 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), | 1143 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), |
| 998 | 'stabilisation_field_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.48)'), | 1144 | 'stabilisation_field_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.48)'), |
| 999 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 1145 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 1000 | 'monitor_result' => $this->text()->comment('Результати моніторингу'), | 1146 | 'monitor_result' => $this->text()->comment('Результати моніторингу'), |
| 1001 | 'date_monitor' => $this->integer()->comment('Дата моніторингу (згідно з [4])'), | 1147 | 'date_monitor' => $this->integer()->comment('Дата моніторингу (згідно з [4])'), |
| 1002 | ]); | 1148 | ]); |
| @@ -1005,15 +1151,15 @@ class m160609_074818_tables extends Migration | @@ -1005,15 +1151,15 @@ class m160609_074818_tables extends Migration | ||
| 1005 | // Table 5.48 | 1151 | // Table 5.48 |
| 1006 | $this->createTable('stabilisation_field_card', [ | 1152 | $this->createTable('stabilisation_field_card', [ |
| 1007 | 'stabilisation_field_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | 1153 | 'stabilisation_field_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), |
| 1008 | - 'area' => $this->decimal()->comment('Площа споруди (у квадратних метрах; з двома цифрами після коми)'), | 1154 | + 'area' => $this->float()->comment('Площа споруди (у квадратних метрах; з двома цифрами після коми)'), |
| 1009 | 'pile_type_id' => $this->integer()->comment('Тип паль (згідно з [4])'), | 1155 | 'pile_type_id' => $this->integer()->comment('Тип паль (згідно з [4])'), |
| 1010 | - 'pile_cut' => $this->decimal()->comment('Переріз паль (у метрах; з двома цифрами після коми)'), | ||
| 1011 | - 'pile_length' => $this->decimal()->comment('Довжина паль (у метрах; з двома цифрами після коми)'), | 1156 | + 'pile_cut' => $this->float()->comment('Переріз паль (у метрах; з двома цифрами після коми)'), |
| 1157 | + 'pile_length' => $this->float()->comment('Довжина паль (у метрах; з двома цифрами після коми)'), | ||
| 1012 | 'pile_count' => $this->integer()->comment('Кількість паль'), | 1158 | 'pile_count' => $this->integer()->comment('Кількість паль'), |
| 1013 | 'year_build' => $this->text()->comment('Рік побудови'), | 1159 | 'year_build' => $this->text()->comment('Рік побудови'), |
| 1014 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 1160 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 1015 | 'monitor_result' => $this->text()->comment('Результати моніторингу'), | 1161 | 'monitor_result' => $this->text()->comment('Результати моніторингу'), |
| 1016 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 1162 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 1017 | 'project_organization' => $this->text()->comment('Проектна організація'), | 1163 | 'project_organization' => $this->text()->comment('Проектна організація'), |
| 1018 | 'project_year' => $this->text()->comment('Рік випуску проекту'), | 1164 | 'project_year' => $this->text()->comment('Рік випуску проекту'), |
| 1019 | 'build_organization' => $this->text()->comment('Будівельна організація'), | 1165 | 'build_organization' => $this->text()->comment('Будівельна організація'), |
| @@ -1028,13 +1174,13 @@ class m160609_074818_tables extends Migration | @@ -1028,13 +1174,13 @@ class m160609_074818_tables extends Migration | ||
| 1028 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), | 1174 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), |
| 1029 | 'begin' => $this->string()->comment('Початок (псевдогеодані)'), | 1175 | 'begin' => $this->string()->comment('Початок (псевдогеодані)'), |
| 1030 | 'end' => $this->string()->comment('Кінець (псевдогеодані)'), | 1176 | 'end' => $this->string()->comment('Кінець (псевдогеодані)'), |
| 1031 | - 'length' => $this->decimal()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), | 1177 | + 'length' => $this->float()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), |
| 1032 | 'location' => $this->text()->comment('Розташування'), | 1178 | 'location' => $this->text()->comment('Розташування'), |
| 1033 | 'purpose' => $this->integer()->comment('Призначення (згідно з [4])'), | 1179 | 'purpose' => $this->integer()->comment('Призначення (згідно з [4])'), |
| 1034 | 'constrution_type_id' => $this->integer()->comment('Тип споруди (згідно з [4])'), | 1180 | 'constrution_type_id' => $this->integer()->comment('Тип споруди (згідно з [4])'), |
| 1035 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), | 1181 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), |
| 1036 | 'tray_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.50)'), | 1182 | 'tray_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.50)'), |
| 1037 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 1183 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 1038 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), | 1184 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), |
| 1039 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 1185 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 1040 | ]); | 1186 | ]); |
| @@ -1045,16 +1191,16 @@ class m160609_074818_tables extends Migration | @@ -1045,16 +1191,16 @@ class m160609_074818_tables extends Migration | ||
| 1045 | 'tray_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | 1191 | 'tray_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), |
| 1046 | 'begin' => $this->string()->comment('Положення початку споруди (псевдогеодані)'), | 1192 | 'begin' => $this->string()->comment('Положення початку споруди (псевдогеодані)'), |
| 1047 | 'end' => $this->string()->comment('Положення кінця споруди (псевдогеодані)'), | 1193 | 'end' => $this->string()->comment('Положення кінця споруди (псевдогеодані)'), |
| 1048 | - 'length' => $this->decimal()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), | 1194 | + 'length' => $this->float()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), |
| 1049 | 'location' => $this->text()->comment('Розташування'), | 1195 | 'location' => $this->text()->comment('Розташування'), |
| 1050 | 'purpose' => $this->text()->comment('Призначення'), | 1196 | 'purpose' => $this->text()->comment('Призначення'), |
| 1051 | 'constrution_type_id' => $this->integer()->comment('Тип споруди (згідно з [4])'), | 1197 | 'constrution_type_id' => $this->integer()->comment('Тип споруди (згідно з [4])'), |
| 1052 | 'body_material_id' => $this->integer()->comment('Матеріал тіла споруди (згідно з [4])'), | 1198 | 'body_material_id' => $this->integer()->comment('Матеріал тіла споруди (згідно з [4])'), |
| 1053 | - 'body_material_capacity' => $this->decimal()->comment('Обєм матеріалів тіла споруди (у кубічних метрах; з двома цифрами після коми)'), | 1199 | + 'body_material_capacity' => $this->float()->comment('Обєм матеріалів тіла споруди (у кубічних метрах; з двома цифрами після коми)'), |
| 1054 | 'basement_material_id' => $this->integer()->comment('Матеріал основи споруди (згідно з [4])'), | 1200 | 'basement_material_id' => $this->integer()->comment('Матеріал основи споруди (згідно з [4])'), |
| 1055 | - 'basement_material_capacity' => $this->decimal()->comment('Обєм матеріалів основи споруди (у кубічних метрах; з двома цифрами після коми)'), | 1201 | + 'basement_material_capacity' => $this->float()->comment('Обєм матеріалів основи споруди (у кубічних метрах; з двома цифрами після коми)'), |
| 1056 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), | 1202 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), |
| 1057 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 1203 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 1058 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), | 1204 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), |
| 1059 | 'project_organization' => $this->text()->comment('Проектна організація'), | 1205 | 'project_organization' => $this->text()->comment('Проектна організація'), |
| 1060 | 'project_year' => $this->text()->comment('Рік випуску проекту'), | 1206 | 'project_year' => $this->text()->comment('Рік випуску проекту'), |
| @@ -1072,13 +1218,13 @@ class m160609_074818_tables extends Migration | @@ -1072,13 +1218,13 @@ class m160609_074818_tables extends Migration | ||
| 1072 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), | 1218 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), |
| 1073 | 'begin' => $this->string()->comment('Початок (псевдогеодані)'), | 1219 | 'begin' => $this->string()->comment('Початок (псевдогеодані)'), |
| 1074 | 'end' => $this->string()->comment('Кінець (псевдогеодані)'), | 1220 | 'end' => $this->string()->comment('Кінець (псевдогеодані)'), |
| 1075 | - 'length' => $this->decimal()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), | 1221 | + 'length' => $this->float()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), |
| 1076 | 'location' => $this->text()->comment('Розташування'), | 1222 | 'location' => $this->text()->comment('Розташування'), |
| 1077 | 'constrution_type_id' => $this->integer()->comment('Тип споруди (згідно з [4])'), | 1223 | 'constrution_type_id' => $this->integer()->comment('Тип споруди (згідно з [4])'), |
| 1078 | 'drainage_construction_type_id' => $this->integer()->comment('Тип конструкції дренажу (згідно з [4])'), | 1224 | 'drainage_construction_type_id' => $this->integer()->comment('Тип конструкції дренажу (згідно з [4])'), |
| 1079 | 'drainage_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.52)'), | 1225 | 'drainage_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.52)'), |
| 1080 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), | 1226 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), |
| 1081 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 1227 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 1082 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), | 1228 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), |
| 1083 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 1229 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 1084 | ]); | 1230 | ]); |
| @@ -1089,30 +1235,30 @@ class m160609_074818_tables extends Migration | @@ -1089,30 +1235,30 @@ class m160609_074818_tables extends Migration | ||
| 1089 | 'drainage_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | 1235 | 'drainage_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), |
| 1090 | 'begin' => $this->string()->comment('Положення початку споруди (псевдогеодані)'), | 1236 | 'begin' => $this->string()->comment('Положення початку споруди (псевдогеодані)'), |
| 1091 | 'end' => $this->string()->comment('Положення кінця споруди (псевдогеодані)'), | 1237 | 'end' => $this->string()->comment('Положення кінця споруди (псевдогеодані)'), |
| 1092 | - 'length' => $this->decimal()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), | 1238 | + 'length' => $this->float()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), |
| 1093 | 'location' => $this->text()->comment('Розташування'), | 1239 | 'location' => $this->text()->comment('Розташування'), |
| 1094 | 'purpose' => $this->text()->comment('Призначення'), | 1240 | 'purpose' => $this->text()->comment('Призначення'), |
| 1095 | 'constrution_type_id' => $this->integer()->comment('Тип споруди (згідно з [4])'), | 1241 | 'constrution_type_id' => $this->integer()->comment('Тип споруди (згідно з [4])'), |
| 1096 | 'drainage_construction_type_id' => $this->integer()->comment('Тип конструкції дренажу (згідно з [4])'), | 1242 | 'drainage_construction_type_id' => $this->integer()->comment('Тип конструкції дренажу (згідно з [4])'), |
| 1097 | 'manhole_count' => $this->integer()->comment('Кількість оглядових колодязів'), | 1243 | 'manhole_count' => $this->integer()->comment('Кількість оглядових колодязів'), |
| 1098 | 'manhole_first_type_material_id' => $this->integer()->comment('Матеріал оглядових колодязів 1-го типу (згідно з [4])'), | 1244 | 'manhole_first_type_material_id' => $this->integer()->comment('Матеріал оглядових колодязів 1-го типу (згідно з [4])'), |
| 1099 | - 'manhole_first_type_capacity' => $this->decimal()->comment('Обєм матеріалів оглядових колодязів 1-го типу (у кубічних метрах; з двома цифрами після коми)'), | 1245 | + 'manhole_first_type_capacity' => $this->float()->comment('Обєм матеріалів оглядових колодязів 1-го типу (у кубічних метрах; з двома цифрами після коми)'), |
| 1100 | 'manhole_second_type_material_id' => $this->integer()->comment('Матеріал оглядових колодязів 2-го типу (згідно з [4])'), | 1246 | 'manhole_second_type_material_id' => $this->integer()->comment('Матеріал оглядових колодязів 2-го типу (згідно з [4])'), |
| 1101 | - 'manhole_second_type_capacity' => $this->decimal()->comment('Обєм матеріалів оглядових колодязів 2-го типу (у кубічних метрах; з двома цифрами після коми)'), | 1247 | + 'manhole_second_type_capacity' => $this->float()->comment('Обєм матеріалів оглядових колодязів 2-го типу (у кубічних метрах; з двома цифрами після коми)'), |
| 1102 | 'drainage_pipe_first_type_material_id' => $this->integer()->comment('Матеріал дренажних труб 1-го типу (згідно з [4])'), | 1248 | 'drainage_pipe_first_type_material_id' => $this->integer()->comment('Матеріал дренажних труб 1-го типу (згідно з [4])'), |
| 1103 | - 'drainage_pipe_first_type_capacity' => $this->decimal()->comment('Обєм матеріалів дренажних труб 1-го типу (у кубічних метрах; з двома цифрами після коми)'), | 1249 | + 'drainage_pipe_first_type_capacity' => $this->float()->comment('Обєм матеріалів дренажних труб 1-го типу (у кубічних метрах; з двома цифрами після коми)'), |
| 1104 | 'drainage_pipe_second_type_material_id' => $this->integer()->comment('Матеріал дренажних труб 2-го типу (згідно з [4])'), | 1250 | 'drainage_pipe_second_type_material_id' => $this->integer()->comment('Матеріал дренажних труб 2-го типу (згідно з [4])'), |
| 1105 | - 'drainage_pipe_second_type_capacity' => $this->decimal()->comment('Обєм матеріалів дренажних труб 2-го типу (у кубічних метрах; з двома цифрами після коми)'), | 1251 | + 'drainage_pipe_second_type_capacity' => $this->float()->comment('Обєм матеріалів дренажних труб 2-го типу (у кубічних метрах; з двома цифрами після коми)'), |
| 1106 | 'drainage_pipe_third_type_material_id' => $this->integer()->comment('Матеріал дренажних труб 3-го типу (згідно з [4])'), | 1252 | 'drainage_pipe_third_type_material_id' => $this->integer()->comment('Матеріал дренажних труб 3-го типу (згідно з [4])'), |
| 1107 | - 'drainage_pipe_third_type_capacity' => $this->decimal()->comment('Обєм матеріалів дренажних труб 3-го типу (у кубічних метрах; з двома цифрами після коми)'), | 1253 | + 'drainage_pipe_third_type_capacity' => $this->float()->comment('Обєм матеріалів дренажних труб 3-го типу (у кубічних метрах; з двома цифрами після коми)'), |
| 1108 | 'drainage_pipe_fourth_type_material_id' => $this->integer()->comment('Матеріал дренажних труб 4-го типу (згідно з [4])'), | 1254 | 'drainage_pipe_fourth_type_material_id' => $this->integer()->comment('Матеріал дренажних труб 4-го типу (згідно з [4])'), |
| 1109 | - 'drainage_pipe_fourth_type_capacity' => $this->decimal()->comment('Обєм матеріалів дренажних труб 4-го типу (у кубічних метрах; з двома цифрами після коми)'), | 1255 | + 'drainage_pipe_fourth_type_capacity' => $this->float()->comment('Обєм матеріалів дренажних труб 4-го типу (у кубічних метрах; з двома цифрами після коми)'), |
| 1110 | 'exhaust_construction_first_type_material_id' => $this->integer()->comment('Матеріал випускної споруди 1-го типу (згідно з [4])'), | 1256 | 'exhaust_construction_first_type_material_id' => $this->integer()->comment('Матеріал випускної споруди 1-го типу (згідно з [4])'), |
| 1111 | - 'exhaust_construction_first_type_capacity' => $this->decimal()->comment('Обєм матеріалів випускної споруди 1-го типу (у кубічних метрах; з двома цифрами після коми)'), | 1257 | + 'exhaust_construction_first_type_capacity' => $this->float()->comment('Обєм матеріалів випускної споруди 1-го типу (у кубічних метрах; з двома цифрами після коми)'), |
| 1112 | 'exhaust_construction_second_type_material_id' => $this->integer()->comment('Матеріал випускної споруди 2-го типу (згідно з [4])'), | 1258 | 'exhaust_construction_second_type_material_id' => $this->integer()->comment('Матеріал випускної споруди 2-го типу (згідно з [4])'), |
| 1113 | - 'exhaust_construction_second_type_capacity' => $this->decimal()->comment('Обєм матеріалів випускної споруди 2-го типу (у кубічних метрах; з двома цифрами після коми)'), | 1259 | + 'exhaust_construction_second_type_capacity' => $this->float()->comment('Обєм матеріалів випускної споруди 2-го типу (у кубічних метрах; з двома цифрами після коми)'), |
| 1114 | 'exhaust_construction_third_type_material_id' => $this->integer()->comment('Матеріал випускної споруди 3-го типу (згідно з [4])'), | 1260 | 'exhaust_construction_third_type_material_id' => $this->integer()->comment('Матеріал випускної споруди 3-го типу (згідно з [4])'), |
| 1115 | - 'exhaust_construction_third_type_capacity' => $this->decimal()->comment('Обєм матеріалів випускної споруди 3-го типу (у кубічних метрах; з двома цифрами після коми)'), | 1261 | + 'exhaust_construction_third_type_capacity' => $this->float()->comment('Обєм матеріалів випускної споруди 3-го типу (у кубічних метрах; з двома цифрами після коми)'), |
| 1116 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), | 1262 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), |
| 1117 | 'project_organization' => $this->text()->comment('Проектна організація'), | 1263 | 'project_organization' => $this->text()->comment('Проектна організація'), |
| 1118 | 'project_year' => $this->text()->comment('Рік випуску проекту'), | 1264 | 'project_year' => $this->text()->comment('Рік випуску проекту'), |
| @@ -1133,10 +1279,10 @@ class m160609_074818_tables extends Migration | @@ -1133,10 +1279,10 @@ class m160609_074818_tables extends Migration | ||
| 1133 | 'location' => $this->text()->comment('Розташування'), | 1279 | 'location' => $this->text()->comment('Розташування'), |
| 1134 | 'purpose' => $this->text()->comment('Призначення майданчика'), | 1280 | 'purpose' => $this->text()->comment('Призначення майданчика'), |
| 1135 | 'surface_type_id' => $this->integer()->comment('Тип покриття (згідно з [4])'), | 1281 | 'surface_type_id' => $this->integer()->comment('Тип покриття (згідно з [4])'), |
| 1136 | - 'area' => $this->decimal()->comment('Площа покриття стоянки (у квадратних метрах; з двома цифрами після коми)'), | 1282 | + 'area' => $this->float()->comment('Площа покриття стоянки (у квадратних метрах; з двома цифрами після коми)'), |
| 1137 | 'site_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.54)'), | 1283 | 'site_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.54)'), |
| 1138 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), | 1284 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), |
| 1139 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 1285 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 1140 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), | 1286 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), |
| 1141 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 1287 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 1142 | ]); | 1288 | ]); |
| @@ -1148,9 +1294,9 @@ class m160609_074818_tables extends Migration | @@ -1148,9 +1294,9 @@ class m160609_074818_tables extends Migration | ||
| 1148 | 'location' => $this->text()->comment('Розташування'), | 1294 | 'location' => $this->text()->comment('Розташування'), |
| 1149 | 'purpose' => $this->text()->comment('Призначення майданчика'), | 1295 | 'purpose' => $this->text()->comment('Призначення майданчика'), |
| 1150 | 'surface_type_id' => $this->integer()->comment('Тип покриття (згідно з [4])'), | 1296 | 'surface_type_id' => $this->integer()->comment('Тип покриття (згідно з [4])'), |
| 1151 | - 'area' => $this->decimal()->comment('Площа покриття (у квадратних метрах; з двома цифрами після коми)'), | 1297 | + 'area' => $this->float()->comment('Площа покриття (у квадратних метрах; з двома цифрами після коми)'), |
| 1152 | 'improvement_card_id' => $this->integer()->comment('Елементи благоустрою (окрема облікова картка; табл. 5.55)'), | 1298 | 'improvement_card_id' => $this->integer()->comment('Елементи благоустрою (окрема облікова картка; табл. 5.55)'), |
| 1153 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 1299 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 1154 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), | 1300 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), |
| 1155 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), | 1301 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), |
| 1156 | 'project_organization' => $this->text()->comment('Проектна організація'), | 1302 | 'project_organization' => $this->text()->comment('Проектна організація'), |
| @@ -1185,14 +1331,14 @@ class m160609_074818_tables extends Migration | @@ -1185,14 +1331,14 @@ class m160609_074818_tables extends Migration | ||
| 1185 | 'begin' => $this->string()->comment('Початок споруди (псевдогеодані)'), | 1331 | 'begin' => $this->string()->comment('Початок споруди (псевдогеодані)'), |
| 1186 | 'end' => $this->string()->comment('Кінець споруди (псевдогеодані)'), | 1332 | 'end' => $this->string()->comment('Кінець споруди (псевдогеодані)'), |
| 1187 | 'location' => $this->text()->comment('Розташування'), | 1333 | 'location' => $this->text()->comment('Розташування'), |
| 1188 | - 'length' => $this->decimal()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), | ||
| 1189 | - 'width' => $this->decimal()->comment('Ширина споруди (у метрах; з двома цифрами після коми)'), | 1334 | + 'length' => $this->float()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), |
| 1335 | + 'width' => $this->float()->comment('Ширина споруди (у метрах; з двома цифрами після коми)'), | ||
| 1190 | 'constrution_type_id' => $this->integer()->comment('Тип споруди (згідно з [4])'), | 1336 | 'constrution_type_id' => $this->integer()->comment('Тип споруди (згідно з [4])'), |
| 1191 | 'surface_type_id' => $this->integer()->comment('Тип покриття (згідно з [4])'), | 1337 | 'surface_type_id' => $this->integer()->comment('Тип покриття (згідно з [4])'), |
| 1192 | - 'area' => $this->decimal()->comment('Площа покриття (у квадратних метрах; з двома цифрами після коми)'), | 1338 | + 'area' => $this->float()->comment('Площа покриття (у квадратних метрах; з двома цифрами після коми)'), |
| 1193 | 'sidewalk_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.57)'), | 1339 | 'sidewalk_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.57)'), |
| 1194 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), | 1340 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), |
| 1195 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 1341 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 1196 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), | 1342 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), |
| 1197 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 1343 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 1198 | ]); | 1344 | ]); |
| @@ -1204,12 +1350,12 @@ class m160609_074818_tables extends Migration | @@ -1204,12 +1350,12 @@ class m160609_074818_tables extends Migration | ||
| 1204 | 'begin' => $this->string()->comment('Початок споруди (псевдогеодані)'), | 1350 | 'begin' => $this->string()->comment('Початок споруди (псевдогеодані)'), |
| 1205 | 'end' => $this->string()->comment('Кінець споруди (псевдогеодані)'), | 1351 | 'end' => $this->string()->comment('Кінець споруди (псевдогеодані)'), |
| 1206 | 'location' => $this->text()->comment('Розташування'), | 1352 | 'location' => $this->text()->comment('Розташування'), |
| 1207 | - 'length' => $this->decimal()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), | ||
| 1208 | - 'width' => $this->decimal()->comment('Ширина споруди (у метрах; з двома цифрами після коми)'), | 1353 | + 'length' => $this->float()->comment('Довжина споруди (у метрах; з двома цифрами після коми)'), |
| 1354 | + 'width' => $this->float()->comment('Ширина споруди (у метрах; з двома цифрами після коми)'), | ||
| 1209 | 'constrution_type_id' => $this->integer()->comment('Тип споруди (згідно з [4])'), | 1355 | 'constrution_type_id' => $this->integer()->comment('Тип споруди (згідно з [4])'), |
| 1210 | 'road_surface_id' => $this->integer()->comment('Дорожній одяг (окрема облікова картка; табл. 5.9)'), | 1356 | 'road_surface_id' => $this->integer()->comment('Дорожній одяг (окрема облікова картка; табл. 5.9)'), |
| 1211 | - 'area' => $this->decimal()->comment('Площа покриття (у квадратних метрах; з двома цифрами після коми)'), | ||
| 1212 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 1357 | + 'area' => $this->float()->comment('Площа покриття (у квадратних метрах; з двома цифрами після коми)'), |
| 1358 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | ||
| 1213 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), | 1359 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), |
| 1214 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), | 1360 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), |
| 1215 | 'project_organization' => $this->text()->comment('Проектна організація'), | 1361 | 'project_organization' => $this->text()->comment('Проектна організація'), |
| @@ -1227,7 +1373,7 @@ class m160609_074818_tables extends Migration | @@ -1227,7 +1373,7 @@ class m160609_074818_tables extends Migration | ||
| 1227 | 'begin' => $this->string()->comment('Початок споруди (псевдогеодані)'), | 1373 | 'begin' => $this->string()->comment('Початок споруди (псевдогеодані)'), |
| 1228 | 'end' => $this->string()->comment('Кінець споруди (псевдогеодані)'), | 1374 | 'end' => $this->string()->comment('Кінець споруди (псевдогеодані)'), |
| 1229 | 'location' => $this->text()->comment('Розташування'), | 1375 | 'location' => $this->text()->comment('Розташування'), |
| 1230 | - 'length' => $this->decimal()->comment('Довжина (у метрах; з двома цифрами після коми)'), | 1376 | + 'length' => $this->float()->comment('Довжина (у метрах; з двома цифрами після коми)'), |
| 1231 | 'fence_type_id' => $this->integer()->comment('Тип огородження (згідно з [4])'), | 1377 | 'fence_type_id' => $this->integer()->comment('Тип огородження (згідно з [4])'), |
| 1232 | 'fence_construction_type_id' => $this->integer()->comment('Тип конструкції огородження (згідно з [4])'), | 1378 | 'fence_construction_type_id' => $this->integer()->comment('Тип конструкції огородження (згідно з [4])'), |
| 1233 | 'fence_construction_id' => $this->integer()->comment('Конструкція огородження (згідно з [4])'), | 1379 | 'fence_construction_id' => $this->integer()->comment('Конструкція огородження (згідно з [4])'), |
| @@ -1235,7 +1381,7 @@ class m160609_074818_tables extends Migration | @@ -1235,7 +1381,7 @@ class m160609_074818_tables extends Migration | ||
| 1235 | 'stud_material_id' => $this->integer()->comment('Матеріал стояків (згідно з [4])'), | 1381 | 'stud_material_id' => $this->integer()->comment('Матеріал стояків (згідно з [4])'), |
| 1236 | 'fence_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.59)'), | 1382 | 'fence_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.59)'), |
| 1237 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), | 1383 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), |
| 1238 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 1384 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 1239 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), | 1385 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), |
| 1240 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 1386 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 1241 | ]); | 1387 | ]); |
| @@ -1247,13 +1393,13 @@ class m160609_074818_tables extends Migration | @@ -1247,13 +1393,13 @@ class m160609_074818_tables extends Migration | ||
| 1247 | 'begin' => $this->string()->comment('Початок споруди (псевдогеодані)'), | 1393 | 'begin' => $this->string()->comment('Початок споруди (псевдогеодані)'), |
| 1248 | 'end' => $this->string()->comment('Кінець споруди (псевдогеодані)'), | 1394 | 'end' => $this->string()->comment('Кінець споруди (псевдогеодані)'), |
| 1249 | 'location' => $this->text()->comment('Розташування'), | 1395 | 'location' => $this->text()->comment('Розташування'), |
| 1250 | - 'length' => $this->decimal()->comment('Довжина (у метрах; з двома цифрами після коми)'), | 1396 | + 'length' => $this->float()->comment('Довжина (у метрах; з двома цифрами після коми)'), |
| 1251 | 'fence_type_id' => $this->integer()->comment('Тип огородження (згідно з ДСТУ 2735)'), | 1397 | 'fence_type_id' => $this->integer()->comment('Тип огородження (згідно з ДСТУ 2735)'), |
| 1252 | 'fence_construction_id' => $this->integer()->comment('Конструкція огородження (згідно з [4])'), | 1398 | 'fence_construction_id' => $this->integer()->comment('Конструкція огородження (згідно з [4])'), |
| 1253 | 'material_id' => $this->integer()->comment('Матеріал елементів огородження (згідно з [4])'), | 1399 | 'material_id' => $this->integer()->comment('Матеріал елементів огородження (згідно з [4])'), |
| 1254 | 'stud_material_id' => $this->integer()->comment('Матеріал стояків (згідно з [4])'), | 1400 | 'stud_material_id' => $this->integer()->comment('Матеріал стояків (згідно з [4])'), |
| 1255 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), | 1401 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), |
| 1256 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 1402 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 1257 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), | 1403 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), |
| 1258 | 'project_organization' => $this->text()->comment('Проектна організація'), | 1404 | 'project_organization' => $this->text()->comment('Проектна організація'), |
| 1259 | 'project_year' => $this->text()->comment('Рік випуску проекту'), | 1405 | 'project_year' => $this->text()->comment('Рік випуску проекту'), |
| @@ -1275,7 +1421,7 @@ class m160609_074818_tables extends Migration | @@ -1275,7 +1421,7 @@ class m160609_074818_tables extends Migration | ||
| 1275 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), | 1421 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), |
| 1276 | 'direct_device_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.61)'), | 1422 | 'direct_device_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.61)'), |
| 1277 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), | 1423 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), |
| 1278 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 1424 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 1279 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), | 1425 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), |
| 1280 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 1426 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 1281 | ]); | 1427 | ]); |
| @@ -1293,7 +1439,7 @@ class m160609_074818_tables extends Migration | @@ -1293,7 +1439,7 @@ class m160609_074818_tables extends Migration | ||
| 1293 | 'reflective_element_availability' => $this->integer()->comment('Наявність світлоповертаючих елементів (згідно з [4])'), | 1439 | 'reflective_element_availability' => $this->integer()->comment('Наявність світлоповертаючих елементів (згідно з [4])'), |
| 1294 | 'artificial_light_availability' => $this->integer()->comment('Наявність штучної підствітки (згідно з [4])'), | 1440 | 'artificial_light_availability' => $this->integer()->comment('Наявність штучної підствітки (згідно з [4])'), |
| 1295 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), | 1441 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), |
| 1296 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 1442 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 1297 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), | 1443 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), |
| 1298 | 'project_organization' => $this->text()->comment('Проектна організація'), | 1444 | 'project_organization' => $this->text()->comment('Проектна організація'), |
| 1299 | 'project_year' => $this->text()->comment('Рік випуску проекту'), | 1445 | 'project_year' => $this->text()->comment('Рік випуску проекту'), |
| @@ -1310,12 +1456,12 @@ class m160609_074818_tables extends Migration | @@ -1310,12 +1456,12 @@ class m160609_074818_tables extends Migration | ||
| 1310 | 'begin' => $this->string()->comment('Початок споруди (псевдогеодані)'), | 1456 | 'begin' => $this->string()->comment('Початок споруди (псевдогеодані)'), |
| 1311 | 'end' => $this->string()->comment('Кінець споруди (псевдогеодані)'), | 1457 | 'end' => $this->string()->comment('Кінець споруди (псевдогеодані)'), |
| 1312 | 'location' => $this->text()->comment('Розташування'), | 1458 | 'location' => $this->text()->comment('Розташування'), |
| 1313 | - 'length' => $this->decimal()->comment('Довжина (у метрах; з двома цифрами після коми)'), | 1459 | + 'length' => $this->float()->comment('Довжина (у метрах; з двома цифрами після коми)'), |
| 1314 | 'purpose' => $this->text()->comment('Призначення'), | 1460 | 'purpose' => $this->text()->comment('Призначення'), |
| 1315 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), | 1461 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), |
| 1316 | 'noise_dazzle_protection_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.63 - 5.64)'), | 1462 | 'noise_dazzle_protection_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.63 - 5.64)'), |
| 1317 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), | 1463 | 'state' => $this->integer()->comment('Стан споруди (згідно з [4])'), |
| 1318 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 1464 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 1319 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), | 1465 | 'repair_certificate' => $this->string()->comment('Довідка про виконання ремонтних робіт (pdf [3])'), |
| 1320 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 1466 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 1321 | ]); | 1467 | ]); |
| @@ -1326,11 +1472,11 @@ class m160609_074818_tables extends Migration | @@ -1326,11 +1472,11 @@ class m160609_074818_tables extends Migration | ||
| 1326 | 'dazzle_protection_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | 1472 | 'dazzle_protection_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), |
| 1327 | 'begin' => $this->string()->comment('Початок споруди (псевдогеодані)'), | 1473 | 'begin' => $this->string()->comment('Початок споруди (псевдогеодані)'), |
| 1328 | 'end' => $this->string()->comment('Кінець споруди (псевдогеодані)'), | 1474 | 'end' => $this->string()->comment('Кінець споруди (псевдогеодані)'), |
| 1329 | - 'length' => $this->decimal()->comment('Довжина (у метрах; з двома цифрами після коми)'), | 1475 | + 'length' => $this->float()->comment('Довжина (у метрах; з двома цифрами після коми)'), |
| 1330 | 'location' => $this->text()->comment('Розташування'), | 1476 | 'location' => $this->text()->comment('Розташування'), |
| 1331 | 'purpose' => $this->text()->comment('Призначення споруди'), | 1477 | 'purpose' => $this->text()->comment('Призначення споруди'), |
| 1332 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), | 1478 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), |
| 1333 | - 'height' => $this->decimal()->comment('Висота споруди (у метрах; з двома цифрами після коми)'), | 1479 | + 'height' => $this->float()->comment('Висота споруди (у метрах; з двома цифрами після коми)'), |
| 1334 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), | 1480 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), |
| 1335 | 'project_organization' => $this->text()->comment('Проектна організація'), | 1481 | 'project_organization' => $this->text()->comment('Проектна організація'), |
| 1336 | 'project_year' => $this->text()->comment('Рік випуску проекту'), | 1482 | 'project_year' => $this->text()->comment('Рік випуску проекту'), |
| @@ -1344,11 +1490,11 @@ class m160609_074818_tables extends Migration | @@ -1344,11 +1490,11 @@ class m160609_074818_tables extends Migration | ||
| 1344 | 'noise_protection_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | 1490 | 'noise_protection_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), |
| 1345 | 'begin' => $this->string()->comment('Початок споруди (псевдогеодані)'), | 1491 | 'begin' => $this->string()->comment('Початок споруди (псевдогеодані)'), |
| 1346 | 'end' => $this->string()->comment('Кінець споруди (псевдогеодані)'), | 1492 | 'end' => $this->string()->comment('Кінець споруди (псевдогеодані)'), |
| 1347 | - 'length' => $this->decimal()->comment('Довжина (у метрах; з двома цифрами після коми)'), | 1493 | + 'length' => $this->float()->comment('Довжина (у метрах; з двома цифрами після коми)'), |
| 1348 | 'location' => $this->text()->comment('Розташування'), | 1494 | 'location' => $this->text()->comment('Розташування'), |
| 1349 | 'purpose' => $this->text()->comment('Призначення споруди'), | 1495 | 'purpose' => $this->text()->comment('Призначення споруди'), |
| 1350 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), | 1496 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), |
| 1351 | - 'height' => $this->decimal()->comment('Висота споруди (у метрах; з двома цифрами після коми)'), | 1497 | + 'height' => $this->float()->comment('Висота споруди (у метрах; з двома цифрами після коми)'), |
| 1352 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), | 1498 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), |
| 1353 | 'break_counter_screen_availability' => $this->integer()->comment('Наявність розривів та контр-екранів (згідно з [4])'), | 1499 | 'break_counter_screen_availability' => $this->integer()->comment('Наявність розривів та контр-екранів (згідно з [4])'), |
| 1354 | 'drainage_availability' => $this->integer()->comment('Наявність водовідведення (згідно з [4])'), | 1500 | 'drainage_availability' => $this->integer()->comment('Наявність водовідведення (згідно з [4])'), |
| @@ -1361,7 +1507,7 @@ class m160609_074818_tables extends Migration | @@ -1361,7 +1507,7 @@ class m160609_074818_tables extends Migration | ||
| 1361 | 'exploitation_instruction_availability' => $this->integer()->comment('Наявніть інструкції з експлуатації (згідно з [4])'), | 1507 | 'exploitation_instruction_availability' => $this->integer()->comment('Наявніть інструкції з експлуатації (згідно з [4])'), |
| 1362 | 'project_doc_location' => $this->text()->comment('Місце зберігання проектної документації'), | 1508 | 'project_doc_location' => $this->text()->comment('Місце зберігання проектної документації'), |
| 1363 | 'build_organization' => $this->text()->comment('Будівельна організація'), | 1509 | 'build_organization' => $this->text()->comment('Будівельна організація'), |
| 1364 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 1510 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 1365 | 'project_organization' => $this->text()->comment('Проектна організація'), | 1511 | 'project_organization' => $this->text()->comment('Проектна організація'), |
| 1366 | 'project_year' => $this->text()->comment('Рік випуску проекту'), | 1512 | 'project_year' => $this->text()->comment('Рік випуску проекту'), |
| 1367 | 'photo' => $this->string()->comment('Фотографії (tiff [3])'), | 1513 | 'photo' => $this->string()->comment('Фотографії (tiff [3])'), |
| @@ -1385,7 +1531,7 @@ class m160609_074818_tables extends Migration | @@ -1385,7 +1531,7 @@ class m160609_074818_tables extends Migration | ||
| 1385 | 'purpose_direction' => $this->text()->comment('Призначення для напрямку руху'), | 1531 | 'purpose_direction' => $this->text()->comment('Призначення для напрямку руху'), |
| 1386 | 'fasten_type_id' => $this->integer()->comment('Тип кріплення знаку (згідно з [4])'), | 1532 | 'fasten_type_id' => $this->integer()->comment('Тип кріплення знаку (згідно з [4])'), |
| 1387 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), | 1533 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), |
| 1388 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 1534 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 1389 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 1535 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 1390 | 'defects' => $this->text()->comment('Дефекти'), | 1536 | 'defects' => $this->text()->comment('Дефекти'), |
| 1391 | 'road_sign_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.66)'), | 1537 | 'road_sign_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.66)'), |
| @@ -1404,7 +1550,7 @@ class m160609_074818_tables extends Migration | @@ -1404,7 +1550,7 @@ class m160609_074818_tables extends Migration | ||
| 1404 | 'purpose_direction' => $this->text()->comment('Призначення для напрямку руху'), | 1550 | 'purpose_direction' => $this->text()->comment('Призначення для напрямку руху'), |
| 1405 | 'fasten_type_id' => $this->integer()->comment('Тип кріплення знаку (згідно з [4])'), | 1551 | 'fasten_type_id' => $this->integer()->comment('Тип кріплення знаку (згідно з [4])'), |
| 1406 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), | 1552 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), |
| 1407 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 1553 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 1408 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 1554 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 1409 | 'defects' => $this->text()->comment('Дефекти'), | 1555 | 'defects' => $this->text()->comment('Дефекти'), |
| 1410 | 'project_organization' => $this->text()->comment('Проектна організація'), | 1556 | 'project_organization' => $this->text()->comment('Проектна організація'), |
| @@ -1421,14 +1567,14 @@ class m160609_074818_tables extends Migration | @@ -1421,14 +1567,14 @@ class m160609_074818_tables extends Migration | ||
| 1421 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), | 1567 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), |
| 1422 | 'begin' => $this->string()->comment('Початок (псевдогеодані)'), | 1568 | 'begin' => $this->string()->comment('Початок (псевдогеодані)'), |
| 1423 | 'end' => $this->string()->comment('Кінець (псевдогеодані)'), | 1569 | 'end' => $this->string()->comment('Кінець (псевдогеодані)'), |
| 1424 | - 'length' => $this->decimal()->comment('Довжина (у метрах; з двома цифрами після коми)'), | ||
| 1425 | - 'area' => $this->decimal()->comment('Площа покриття (у квадратних метрах; з двома цифрами після коми)'), | 1570 | + 'length' => $this->float()->comment('Довжина (у метрах; з двома цифрами після коми)'), |
| 1571 | + 'area' => $this->float()->comment('Площа покриття (у квадратних метрах; з двома цифрами після коми)'), | ||
| 1426 | 'group' => $this->integer()->comment('Група розмітки (згідно з 4.1 ДСТУ 2587)'), | 1572 | 'group' => $this->integer()->comment('Група розмітки (згідно з 4.1 ДСТУ 2587)'), |
| 1427 | 'number' => $this->integer()->comment('Номер розмітки (згідно з 4.1 ДСТУ 2587)'), | 1573 | 'number' => $this->integer()->comment('Номер розмітки (згідно з 4.1 ДСТУ 2587)'), |
| 1428 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), | 1574 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), |
| 1429 | 'reflective_element_availability' => $this->integer()->comment('Наявність світлоповертальних елементів (згідно з [4])'), | 1575 | 'reflective_element_availability' => $this->integer()->comment('Наявність світлоповертальних елементів (згідно з [4])'), |
| 1430 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), | 1576 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), |
| 1431 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), | 1577 | + 'balance_cost' => $this->float()->comment('Балансова вартість споруди (у тисячах гривень; з двома цифрами після коми)'), |
| 1432 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 1578 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 1433 | 'defects' => $this->integer()->comment('Дефекти (згідно з [4])'), | 1579 | 'defects' => $this->integer()->comment('Дефекти (згідно з [4])'), |
| 1434 | 'road_mark_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.68)'), | 1580 | 'road_mark_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.68)'), |
| @@ -1441,8 +1587,8 @@ class m160609_074818_tables extends Migration | @@ -1441,8 +1587,8 @@ class m160609_074818_tables extends Migration | ||
| 1441 | 'road_mark_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | 1587 | 'road_mark_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), |
| 1442 | 'begin' => $this->string()->comment('Початок (псевдогеодані)'), | 1588 | 'begin' => $this->string()->comment('Початок (псевдогеодані)'), |
| 1443 | 'end' => $this->string()->comment('Кінець (псевдогеодані)'), | 1589 | 'end' => $this->string()->comment('Кінець (псевдогеодані)'), |
| 1444 | - 'length' => $this->decimal()->comment('Довжина (у метрах; з двома цифрами після коми)'), | ||
| 1445 | - 'area' => $this->decimal()->comment('Площа (у квадратних метрах; з двома цифрами після коми)'), | 1590 | + 'length' => $this->float()->comment('Довжина (у метрах; з двома цифрами після коми)'), |
| 1591 | + 'area' => $this->float()->comment('Площа (у квадратних метрах; з двома цифрами після коми)'), | ||
| 1446 | 'group' => $this->integer()->comment('Група розмітки (згідно з 4.1 ДСТУ 2587)'), | 1592 | 'group' => $this->integer()->comment('Група розмітки (згідно з 4.1 ДСТУ 2587)'), |
| 1447 | 'number' => $this->integer()->comment('Номер розмітки (згідно з 4.1 ДСТУ 2587)'), | 1593 | 'number' => $this->integer()->comment('Номер розмітки (згідно з 4.1 ДСТУ 2587)'), |
| 1448 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), | 1594 | 'material_id' => $this->integer()->comment('Матеріал (згідно з [4])'), |
| @@ -1464,11 +1610,11 @@ class m160609_074818_tables extends Migration | @@ -1464,11 +1610,11 @@ class m160609_074818_tables extends Migration | ||
| 1464 | 'location' => $this->text()->comment('Розташування'), | 1610 | 'location' => $this->text()->comment('Розташування'), |
| 1465 | 'purpose' => $this->text()->comment('Призначення'), | 1611 | 'purpose' => $this->text()->comment('Призначення'), |
| 1466 | 'tree_lane_count' => $this->integer()->comment('Кількість рядів дерев'), | 1612 | 'tree_lane_count' => $this->integer()->comment('Кількість рядів дерев'), |
| 1467 | - 'lane_width_average' => $this->decimal()->comment('Середня ширина смуги (у метрах; з двома цифрами після коми)'), | ||
| 1468 | - 'area' => $this->decimal()->comment('Площа (у квадратних метрах; з двома цифрами після коми)'), | 1613 | + 'lane_width_average' => $this->float()->comment('Середня ширина смуги (у метрах; з двома цифрами після коми)'), |
| 1614 | + 'area' => $this->float()->comment('Площа (у квадратних метрах; з двома цифрами після коми)'), | ||
| 1469 | 'year_build' => $this->text()->comment('Рік висадження'), | 1615 | 'year_build' => $this->text()->comment('Рік висадження'), |
| 1470 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), | 1616 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), |
| 1471 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість (у тисячах гривень; з двома цифрами після коми)'), | 1617 | + 'balance_cost' => $this->float()->comment('Балансова вартість (у тисячах гривень; з двома цифрами після коми)'), |
| 1472 | 'defects' => $this->text()->comment('Дефекти'), | 1618 | 'defects' => $this->text()->comment('Дефекти'), |
| 1473 | 'planting_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.70)'), | 1619 | 'planting_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.70)'), |
| 1474 | 'coords' => $this->string()->comment('Координати (геодані)'), | 1620 | 'coords' => $this->string()->comment('Координати (геодані)'), |
| @@ -1482,22 +1628,22 @@ class m160609_074818_tables extends Migration | @@ -1482,22 +1628,22 @@ class m160609_074818_tables extends Migration | ||
| 1482 | 'end' => $this->string()->comment('Кінець (псевдогеодані)'), | 1628 | 'end' => $this->string()->comment('Кінець (псевдогеодані)'), |
| 1483 | 'location' => $this->text()->comment('Розташування'), | 1629 | 'location' => $this->text()->comment('Розташування'), |
| 1484 | 'purpose' => $this->text()->comment('Призначення'), | 1630 | 'purpose' => $this->text()->comment('Призначення'), |
| 1485 | - 'road_distance' => $this->decimal()->comment('Відстань від крайки проїзної частини дороги до найближчого краю стовбура дерева першого ряду насаджень (у метрах; з двома цифрами після коми)'), | 1631 | + 'road_distance' => $this->float()->comment('Відстань від крайки проїзної частини дороги до найближчого краю стовбура дерева першого ряду насаджень (у метрах; з двома цифрами після коми)'), |
| 1486 | 'tree_assortment' => $this->text()->comment('Асортимент порід дерев і кущів'), | 1632 | 'tree_assortment' => $this->text()->comment('Асортимент порід дерев і кущів'), |
| 1487 | 'tree_row_count' => $this->integer()->comment('Кількість рядів дерев'), | 1633 | 'tree_row_count' => $this->integer()->comment('Кількість рядів дерев'), |
| 1488 | - 'lane_width_average' => $this->decimal()->comment('Середня ширина смуги озеленення (у метрах; з двома цифрами після коми)'), | ||
| 1489 | - 'tree_top_height' => $this->decimal()->comment('Найвища висота дерева (у метрах; з двома цифрами після коми)'), | ||
| 1490 | - 'tree_crown_width' => $this->decimal()->comment('Ширина крони дерева (у метрах; з двома цифрами після коми)'), | 1634 | + 'lane_width_average' => $this->float()->comment('Середня ширина смуги озеленення (у метрах; з двома цифрами після коми)'), |
| 1635 | + 'tree_top_height' => $this->float()->comment('Найвища висота дерева (у метрах; з двома цифрами після коми)'), | ||
| 1636 | + 'tree_crown_width' => $this->float()->comment('Ширина крони дерева (у метрах; з двома цифрами після коми)'), | ||
| 1491 | 'tree_crown_density' => $this->text()->comment('Щільність (ажурність) крони дерев'), | 1637 | 'tree_crown_density' => $this->text()->comment('Щільність (ажурність) крони дерев'), |
| 1492 | - 'tree_crown_height' => $this->decimal()->comment('Висота крони дерев (у метрах; з двома цифрами після коми)'), | ||
| 1493 | - 'tree_lane_distance' => $this->decimal()->comment('Відстань міждеревами в ряду (у метрах; з двома цифрами після коми)'), | ||
| 1494 | - 'area' => $this->decimal()->comment('Площа (у квадратних метрах; з двома цифрами після коми)'), | 1638 | + 'tree_crown_height' => $this->float()->comment('Висота крони дерев (у метрах; з двома цифрами після коми)'), |
| 1639 | + 'tree_lane_distance' => $this->float()->comment('Відстань міждеревами в ряду (у метрах; з двома цифрами після коми)'), | ||
| 1640 | + 'area' => $this->float()->comment('Площа (у квадратних метрах; з двома цифрами після коми)'), | ||
| 1495 | 'year_build' => $this->text()->comment('Рік висадження'), | 1641 | 'year_build' => $this->text()->comment('Рік висадження'), |
| 1496 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), | 1642 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), |
| 1497 | 'defects' => $this->integer()->comment('Дефекти (згідно з [4])'), | 1643 | 'defects' => $this->integer()->comment('Дефекти (згідно з [4])'), |
| 1498 | 'photo' => $this->string()->comment('Фотографії (tiff [3])'), | 1644 | 'photo' => $this->string()->comment('Фотографії (tiff [3])'), |
| 1499 | 'video' => $this->string()->comment('Відео файли (mkv [3])'), | 1645 | 'video' => $this->string()->comment('Відео файли (mkv [3])'), |
| 1500 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість (у тисячах гривень; з двома цифрами після коми)'), | 1646 | + 'balance_cost' => $this->float()->comment('Балансова вартість (у тисячах гривень; з двома цифрами після коми)'), |
| 1501 | 'project_organization' => $this->text()->comment('Проектна організація'), | 1647 | 'project_organization' => $this->text()->comment('Проектна організація'), |
| 1502 | 'project_year' => $this->text()->comment('Рік випуску проекту'), | 1648 | 'project_year' => $this->text()->comment('Рік випуску проекту'), |
| 1503 | 'build_organization' => $this->text()->comment('Будівельна організація'), | 1649 | 'build_organization' => $this->text()->comment('Будівельна організація'), |
| @@ -1512,7 +1658,7 @@ class m160609_074818_tables extends Migration | @@ -1512,7 +1658,7 @@ class m160609_074818_tables extends Migration | ||
| 1512 | 'position' => $this->string()->comment('Положення (псевдогеодані)'), | 1658 | 'position' => $this->string()->comment('Положення (псевдогеодані)'), |
| 1513 | 'location' => $this->text()->comment('Розташування'), | 1659 | 'location' => $this->text()->comment('Розташування'), |
| 1514 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), | 1660 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), |
| 1515 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість (у тисячах гривень; з двома цифрами після коми)'), | 1661 | + 'balance_cost' => $this->float()->comment('Балансова вартість (у тисячах гривень; з двома цифрами після коми)'), |
| 1516 | 'defects' => $this->integer()->comment('Дефекти (згідно з [4])'), | 1662 | 'defects' => $this->integer()->comment('Дефекти (згідно з [4])'), |
| 1517 | 'data_collector_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.72)'), | 1663 | 'data_collector_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.72)'), |
| 1518 | 'link' => $this->text()->comment('Посилання на інтернет-ресурси'), | 1664 | 'link' => $this->text()->comment('Посилання на інтернет-ресурси'), |
| @@ -1527,7 +1673,7 @@ class m160609_074818_tables extends Migration | @@ -1527,7 +1673,7 @@ class m160609_074818_tables extends Migration | ||
| 1527 | 'location' => $this->text()->comment('Розташування'), | 1673 | 'location' => $this->text()->comment('Розташування'), |
| 1528 | 'data_collector_type_id' => $this->integer()->comment('Тип автоматичного електронного засобу збору даних (згідно з [4])'), | 1674 | 'data_collector_type_id' => $this->integer()->comment('Тип автоматичного електронного засобу збору даних (згідно з [4])'), |
| 1529 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), | 1675 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), |
| 1530 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість (у тисячах гривень; з двома цифрами після коми)'), | 1676 | + 'balance_cost' => $this->float()->comment('Балансова вартість (у тисячах гривень; з двома цифрами після коми)'), |
| 1531 | 'defects' => $this->integer()->comment('Дефекти (згідно з [4])'), | 1677 | 'defects' => $this->integer()->comment('Дефекти (згідно з [4])'), |
| 1532 | 'project_organization' => $this->text()->comment('Проектна організація'), | 1678 | 'project_organization' => $this->text()->comment('Проектна організація'), |
| 1533 | 'project_year' => $this->text()->comment('Рік випуску проекту'), | 1679 | 'project_year' => $this->text()->comment('Рік випуску проекту'), |
| @@ -1543,11 +1689,11 @@ class m160609_074818_tables extends Migration | @@ -1543,11 +1689,11 @@ class m160609_074818_tables extends Migration | ||
| 1543 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), | 1689 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), |
| 1544 | 'begin' => $this->string()->comment('Початок (псевдогеодані)'), | 1690 | 'begin' => $this->string()->comment('Початок (псевдогеодані)'), |
| 1545 | 'end' => $this->string()->comment('Кінець (псевдогеодані)'), | 1691 | 'end' => $this->string()->comment('Кінець (псевдогеодані)'), |
| 1546 | - 'length' => $this->decimal()->comment('Довжина (у метрах; з двома цифрами після коми)'), | 1692 | + 'length' => $this->float()->comment('Довжина (у метрах; з двома цифрами після коми)'), |
| 1547 | 'communication_type_id' => $this->integer()->comment('Тип комунікації (згідно з [4])'), | 1693 | 'communication_type_id' => $this->integer()->comment('Тип комунікації (згідно з [4])'), |
| 1548 | 'tool_construction'=> $this->integer()->comment('Засоби прокладання (згідно з [4])'), | 1694 | 'tool_construction'=> $this->integer()->comment('Засоби прокладання (згідно з [4])'), |
| 1549 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), | 1695 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), |
| 1550 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість (у тисячах гривень; з двома цифрами після коми)'), | 1696 | + 'balance_cost' => $this->float()->comment('Балансова вартість (у тисячах гривень; з двома цифрами після коми)'), |
| 1551 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), | 1697 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), |
| 1552 | 'communication_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.74)'), | 1698 | 'communication_card_id' => $this->integer()->comment('Картка споруди (окрема облікова картка; табл. 5.74)'), |
| 1553 | ]); | 1699 | ]); |
| @@ -1558,11 +1704,11 @@ class m160609_074818_tables extends Migration | @@ -1558,11 +1704,11 @@ class m160609_074818_tables extends Migration | ||
| 1558 | 'communication_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), | 1704 | 'communication_card_id' => $this->primaryKey()->comment('Індекс титулу (згідно з [4])'), |
| 1559 | 'begin' => $this->string()->comment('Початок (псевдогеодані)'), | 1705 | 'begin' => $this->string()->comment('Початок (псевдогеодані)'), |
| 1560 | 'end' => $this->string()->comment('Кінець (псевдогеодані)'), | 1706 | 'end' => $this->string()->comment('Кінець (псевдогеодані)'), |
| 1561 | - 'length' => $this->decimal()->comment('Довжина (у метрах; з двома цифрами після коми)'), | 1707 | + 'length' => $this->float()->comment('Довжина (у метрах; з двома цифрами після коми)'), |
| 1562 | 'communication_type_id' => $this->integer()->comment('Тип комунікації (згідно з [4])'), | 1708 | 'communication_type_id' => $this->integer()->comment('Тип комунікації (згідно з [4])'), |
| 1563 | 'tool_construction'=> $this->integer()->comment('Засоби прокладання (згідно з [4])'), | 1709 | 'tool_construction'=> $this->integer()->comment('Засоби прокладання (згідно з [4])'), |
| 1564 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), | 1710 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), |
| 1565 | - 'balance_cost' => $this->decimal()->comment('Балансова вартість (у тисячах гривень; з двома цифрами після коми)'), | 1711 | + 'balance_cost' => $this->float()->comment('Балансова вартість (у тисячах гривень; з двома цифрами після коми)'), |
| 1566 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), | 1712 | 'defects' => $this->integer()->comment('Дефекти споруди (згідно з [4])'), |
| 1567 | 'project_organization' => $this->text()->comment('Проектна організація'), | 1713 | 'project_organization' => $this->text()->comment('Проектна організація'), |
| 1568 | 'project_year' => $this->text()->comment('Рік випуску проекту'), | 1714 | 'project_year' => $this->text()->comment('Рік випуску проекту'), |
| @@ -1579,7 +1725,7 @@ class m160609_074818_tables extends Migration | @@ -1579,7 +1725,7 @@ class m160609_074818_tables extends Migration | ||
| 1579 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), | 1725 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), |
| 1580 | 'begin' => $this->string()->comment('Початок ділянки потенційного занесення снігом (псевдогеодані)'), | 1726 | 'begin' => $this->string()->comment('Початок ділянки потенційного занесення снігом (псевдогеодані)'), |
| 1581 | 'end' => $this->string()->comment('Кінець ділянки потенційного занесення снігом (псевдогеодані)'), | 1727 | 'end' => $this->string()->comment('Кінець ділянки потенційного занесення снігом (псевдогеодані)'), |
| 1582 | - 'length' => $this->decimal()->comment('Довжина (у метрах; з двома цифрами після коми)'), | 1728 | + 'length' => $this->float()->comment('Довжина (у метрах; з двома цифрами після коми)'), |
| 1583 | 'location' => $this->text()->comment('Розташування'), | 1729 | 'location' => $this->text()->comment('Розташування'), |
| 1584 | 'snow_protection_type_id' => $this->integer()->comment('Тип снігозахисних засобів (згідно з [4])'), | 1730 | 'snow_protection_type_id' => $this->integer()->comment('Тип снігозахисних засобів (згідно з [4])'), |
| 1585 | 'count' => $this->integer()->comment('Потрібна кількість снігозахисних засобів'), | 1731 | 'count' => $this->integer()->comment('Потрібна кількість снігозахисних засобів'), |
| @@ -1604,7 +1750,7 @@ class m160609_074818_tables extends Migration | @@ -1604,7 +1750,7 @@ class m160609_074818_tables extends Migration | ||
| 1604 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), | 1750 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), |
| 1605 | 'begin' => $this->string()->comment('Початок ділянки (псевдогеодані)'), | 1751 | 'begin' => $this->string()->comment('Початок ділянки (псевдогеодані)'), |
| 1606 | 'end' => $this->string()->comment('Кінець ділянки (псевдогеодані)'), | 1752 | 'end' => $this->string()->comment('Кінець ділянки (псевдогеодані)'), |
| 1607 | - 'length' => $this->decimal()->comment('Довжина (у метрах; з двома цифрами після коми)'), | 1753 | + 'length' => $this->float()->comment('Довжина (у метрах; з двома цифрами після коми)'), |
| 1608 | 'location' => $this->text()->comment('Розташування'), | 1754 | 'location' => $this->text()->comment('Розташування'), |
| 1609 | 'nature_factor' => $this->integer()->comment('Природні фактори, що зумовлюють складність утримання (згідно з [4])'), | 1755 | 'nature_factor' => $this->integer()->comment('Природні фактори, що зумовлюють складність утримання (згідно з [4])'), |
| 1610 | 'coords' => $this->string()->comment('Координати (геодані)'), | 1756 | 'coords' => $this->string()->comment('Координати (геодані)'), |
| @@ -1627,9 +1773,9 @@ class m160609_074818_tables extends Migration | @@ -1627,9 +1773,9 @@ class m160609_074818_tables extends Migration | ||
| 1627 | 'stop_device_availability' => $this->integer()->comment('Наявність пристроїв примусової зупинки проїзду (згідно з [4])'), | 1773 | 'stop_device_availability' => $this->integer()->comment('Наявність пристроїв примусової зупинки проїзду (згідно з [4])'), |
| 1628 | 'traffic_light_availability' => $this->integer()->comment('Наявність світлофору (згідно з [4])'), | 1774 | 'traffic_light_availability' => $this->integer()->comment('Наявність світлофору (згідно з [4])'), |
| 1629 | 'light_availability' => $this->integer()->comment('Наявність освітлення (згідно з [4])'), | 1775 | 'light_availability' => $this->integer()->comment('Наявність освітлення (згідно з [4])'), |
| 1630 | - 'train_visibility_left' => $this->decimal()->comment('Відстань видимості потягу ліворуч (у метрах; з двома цифрами після коми)'), | ||
| 1631 | - 'train_visibility_right' => $this->decimal()->comment('Відстань видимості потягу праворуч (у метрах; з двома цифрами після коми)'), | ||
| 1632 | - 'cross_angle' => $this->decimal()->comment('Кут перетину (в градусах; з двома цифрами після коми)'), | 1776 | + 'train_visibility_left' => $this->float()->comment('Відстань видимості потягу ліворуч (у метрах; з двома цифрами після коми)'), |
| 1777 | + 'train_visibility_right' => $this->float()->comment('Відстань видимості потягу праворуч (у метрах; з двома цифрами після коми)'), | ||
| 1778 | + 'cross_angle' => $this->float()->comment('Кут перетину (в градусах; з двома цифрами після коми)'), | ||
| 1633 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), | 1779 | 'state' => $this->integer()->comment('Стан (згідно з [4])'), |
| 1634 | 'defects' => $this->integer()->comment('Дефекти (згідно з [4])'), | 1780 | 'defects' => $this->integer()->comment('Дефекти (згідно з [4])'), |
| 1635 | 'rail_direction' => $this->text()->comment('Напрямок руху залізниці'), | 1781 | 'rail_direction' => $this->text()->comment('Напрямок руху залізниці'), |
| @@ -1702,7 +1848,7 @@ class m160609_074818_tables extends Migration | @@ -1702,7 +1848,7 @@ class m160609_074818_tables extends Migration | ||
| 1702 | 'trailer_intensity' => $this->integer()->comment('Інтенсивність руху автотрейлерів низькорамних з кількістю осей 7 та більше (ціле число; в автомобілях на добу)'), | 1848 | 'trailer_intensity' => $this->integer()->comment('Інтенсивність руху автотрейлерів низькорамних з кількістю осей 7 та більше (ціле число; в автомобілях на добу)'), |
| 1703 | 'total_intensity' => $this->integer()->comment('Загальна інтенсивність руху (ціле число; в автомобілях на добу)'), | 1849 | 'total_intensity' => $this->integer()->comment('Загальна інтенсивність руху (ціле число; в автомобілях на добу)'), |
| 1704 | 'capacity' => $this->integer()->comment('Пропускна здатність (ціле число; в автомобілях на добу)'), | 1850 | 'capacity' => $this->integer()->comment('Пропускна здатність (ціле число; в автомобілях на добу)'), |
| 1705 | - 'stock_coef' => $this->decimal()->comment('Коефіцієнт запасу (з двома цифрами після коми)'), | 1851 | + 'stock_coef' => $this->float()->comment('Коефіцієнт запасу (з двома цифрами після коми)'), |
| 1706 | 'coords' => $this->string()->comment('Координати ділянки із сталим транспортним потоком (геодані)'), | 1852 | 'coords' => $this->string()->comment('Координати ділянки із сталим транспортним потоком (геодані)'), |
| 1707 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 1853 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| 1708 | ]); | 1854 | ]); |
| @@ -1716,8 +1862,8 @@ class m160609_074818_tables extends Migration | @@ -1716,8 +1862,8 @@ class m160609_074818_tables extends Migration | ||
| 1716 | 'begin' => $this->string()->comment('Початок ділянки дороги з однаковими умовами руху (псевдогеодані)'), | 1862 | 'begin' => $this->string()->comment('Початок ділянки дороги з однаковими умовами руху (псевдогеодані)'), |
| 1717 | 'end' => $this->string()->comment('Кінець ділянки дороги з однаковими умовами руху (псевдогеодані)'), | 1863 | 'end' => $this->string()->comment('Кінець ділянки дороги з однаковими умовами руху (псевдогеодані)'), |
| 1718 | 'road_category_id' => $this->integer()->comment('Категорія дороги (згідно з [4])'), | 1864 | 'road_category_id' => $this->integer()->comment('Категорія дороги (згідно з [4])'), |
| 1719 | - 'forward_speed' => $this->decimal()->comment('Середня швидкість руху транспортного потоку в прямому напрямку (в кілометрах за годину; з двома цифрами після коми)'), | ||
| 1720 | - 'back_speed' => $this->decimal()->comment('Середня швидкість руху транспортного потоку в зворотному напрямку (в кілометрах за годину; з двома цифрами після коми)'), | 1865 | + 'forward_speed' => $this->float()->comment('Середня швидкість руху транспортного потоку в прямому напрямку (в кілометрах за годину; з двома цифрами після коми)'), |
| 1866 | + 'back_speed' => $this->float()->comment('Середня швидкість руху транспортного потоку в зворотному напрямку (в кілометрах за годину; з двома цифрами після коми)'), | ||
| 1721 | 'forward_coords' => $this->string()->comment('Координати ділянки з однаковими умовами руху в прямому напрямку (геодані)'), | 1867 | 'forward_coords' => $this->string()->comment('Координати ділянки з однаковими умовами руху в прямому напрямку (геодані)'), |
| 1722 | 'back_coords' => $this->string()->comment('Координати ділянки з однаковими умовами руху в зворотному напрямку (геодані)'), | 1868 | 'back_coords' => $this->string()->comment('Координати ділянки з однаковими умовами руху в зворотному напрямку (геодані)'), |
| 1723 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), | 1869 | 'date_actual' => $this->integer()->comment('Дата актуалізації (згідно з [4])'), |
| @@ -1732,10 +1878,10 @@ class m160609_074818_tables extends Migration | @@ -1732,10 +1878,10 @@ class m160609_074818_tables extends Migration | ||
| 1732 | 'begin' => $this->string()->comment('Початок ділянки дороги з однаковими умовами руху (псевдогеодані)'), | 1878 | 'begin' => $this->string()->comment('Початок ділянки дороги з однаковими умовами руху (псевдогеодані)'), |
| 1733 | 'end' => $this->string()->comment('Кінець ділянки дороги з однаковими умовами руху (псевдогеодані)'), | 1879 | 'end' => $this->string()->comment('Кінець ділянки дороги з однаковими умовами руху (псевдогеодані)'), |
| 1734 | 'road_category_id' => $this->integer()->comment('Категорія дороги (згідно з [4])'), | 1880 | 'road_category_id' => $this->integer()->comment('Категорія дороги (згідно з [4])'), |
| 1735 | - 'visibility_oncoming_standard' => $this->decimal()->comment('Нормативна відстань видимості зустрічного транспортного засобу (у метрах; згідно з 4.6 ДБН В.2.3-4)'), | 1881 | + 'visibility_oncoming_standard' => $this->float()->comment('Нормативна відстань видимості зустрічного транспортного засобу (у метрах; згідно з 4.6 ДБН В.2.3-4)'), |
| 1736 | 'forward_vivibility' => $this->integer()->comment('Фактична просторова видимість зустрічного транспорту в прямому напрямку руху (у метрах)'), | 1882 | 'forward_vivibility' => $this->integer()->comment('Фактична просторова видимість зустрічного транспорту в прямому напрямку руху (у метрах)'), |
| 1737 | 'back_vivibility' => $this->integer()->comment('Фактична просторова видимість зустрічного транспорту в зворотному напрямку руху (у метрах)'), | 1883 | 'back_vivibility' => $this->integer()->comment('Фактична просторова видимість зустрічного транспорту в зворотному напрямку руху (у метрах)'), |
| 1738 | - 'safe_speed' => $this->decimal()->comment('Величина безпечної швидкості руху (в кілометрах за годину; з двома цифрами після коми)'), | 1884 | + 'safe_speed' => $this->float()->comment('Величина безпечної швидкості руху (в кілометрах за годину; з двома цифрами після коми)'), |
| 1739 | 'conclusion' => $this->text()->comment('Висновок'), | 1885 | 'conclusion' => $this->text()->comment('Висновок'), |
| 1740 | ]); | 1886 | ]); |
| 1741 | $this->addCommentOnTable('visibility_danger', 'Дані про ділянки з незабезпеченою просторовою видимістю'); | 1887 | $this->addCommentOnTable('visibility_danger', 'Дані про ділянки з незабезпеченою просторовою видимістю'); |
| @@ -1756,8 +1902,8 @@ class m160609_074818_tables extends Migration | @@ -1756,8 +1902,8 @@ class m160609_074818_tables extends Migration | ||
| 1756 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), | 1902 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), |
| 1757 | 'begin' => $this->string()->comment('Початок ділянки (псевдогеодані)'), | 1903 | 'begin' => $this->string()->comment('Початок ділянки (псевдогеодані)'), |
| 1758 | 'end' => $this->string()->comment('Кінець ділянки (псевдогеодані)'), | 1904 | 'end' => $this->string()->comment('Кінець ділянки (псевдогеодані)'), |
| 1759 | - 'finance_value' => $this->decimal()->comment('Величина нормативного фінансування (в тисячах гривень; з двома цифрами після коми)'), | ||
| 1760 | - 'inflation_coef' => $this->decimal()->comment('Коефіцієнт інфляції (з двома цифрами після коми)'), | 1905 | + 'finance_value' => $this->float()->comment('Величина нормативного фінансування (в тисячах гривень; з двома цифрами після коми)'), |
| 1906 | + 'inflation_coef' => $this->float()->comment('Коефіцієнт інфляції (з двома цифрами після коми)'), | ||
| 1761 | 'coords' => $this->string()->comment('Координати (згідно 6.2.2.17 СОУ 42.1-37641918-122)'), | 1907 | 'coords' => $this->string()->comment('Координати (згідно 6.2.2.17 СОУ 42.1-37641918-122)'), |
| 1762 | 'date_actual' => $this->integer()->comment('Дата актуалізації (табл. Б.104)'), | 1908 | 'date_actual' => $this->integer()->comment('Дата актуалізації (табл. Б.104)'), |
| 1763 | ]); | 1909 | ]); |
| @@ -1770,7 +1916,7 @@ class m160609_074818_tables extends Migration | @@ -1770,7 +1916,7 @@ class m160609_074818_tables extends Migration | ||
| 1770 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), | 1916 | 'cross_section_number' => $this->integer()->comment('Номер з\'їзду транспортної розв\'язки'), |
| 1771 | 'begin' => $this->string()->comment('Початок ділянки (псевдогеодані)'), | 1917 | 'begin' => $this->string()->comment('Початок ділянки (псевдогеодані)'), |
| 1772 | 'end' => $this->string()->comment('Кінець ділянки (псевдогеодані)'), | 1918 | 'end' => $this->string()->comment('Кінець ділянки (псевдогеодані)'), |
| 1773 | - 'finance_value' => $this->decimal()->comment('Величина нормативного фінансування (в тисячах гривень; з двома цифрами після коми)'), | 1919 | + 'finance_value' => $this->float()->comment('Величина нормативного фінансування (в тисячах гривень; з двома цифрами після коми)'), |
| 1774 | 'coords' => $this->string()->comment('Координати (згідно 6.2.2.17 СОУ 42.1-37641918-122)'), | 1920 | 'coords' => $this->string()->comment('Координати (згідно 6.2.2.17 СОУ 42.1-37641918-122)'), |
| 1775 | 'date_actual' => $this->integer()->comment('Дата актуалізації (табл. Б.104)'), | 1921 | 'date_actual' => $this->integer()->comment('Дата актуалізації (табл. Б.104)'), |
| 1776 | ]); | 1922 | ]); |
| @@ -1876,15 +2022,16 @@ class m160609_074818_tables extends Migration | @@ -1876,15 +2022,16 @@ class m160609_074818_tables extends Migration | ||
| 1876 | $this->createTable('road_type', [ | 2022 | $this->createTable('road_type', [ |
| 1877 | 'road_type_id' => $this->primaryKey()->comment('Ідентифікатор'), | 2023 | 'road_type_id' => $this->primaryKey()->comment('Ідентифікатор'), |
| 1878 | 'value' => $this->string()->comment('Значення'), | 2024 | 'value' => $this->string()->comment('Значення'), |
| 2025 | + 'definition' => $this->string(), | ||
| 1879 | ]); | 2026 | ]); |
| 1880 | $this->addCommentOnTable('road_type', 'Індекс автомобільної дороги (стаття 8, Закон України "Про автомобільні дороги")'); | 2027 | $this->addCommentOnTable('road_type', 'Індекс автомобільної дороги (стаття 8, Закон України "Про автомобільні дороги")'); |
| 1881 | - $this->batchInsert('road_type', [ 'value' ], [ | ||
| 1882 | - [ 'М (міжнародна)' ], | ||
| 1883 | - [ 'Н (національна)' ], | ||
| 1884 | - [ 'Р (регіональна)' ], | ||
| 1885 | - [ 'Т (територіальна)' ], | ||
| 1886 | - [ 'О (обласна)' ], | ||
| 1887 | - [ 'С (районна)' ], | 2028 | + $this->batchInsert('road_type', [ 'value', 'definition' ], [ |
| 2029 | + [ 'М', 'міжнародна' ], | ||
| 2030 | + [ 'Н', 'національна' ], | ||
| 2031 | + [ 'Р', 'регіональна' ], | ||
| 2032 | + [ 'Т', 'територіальна' ], | ||
| 2033 | + [ 'О', 'обласна' ], | ||
| 2034 | + [ 'С', 'районна' ], | ||
| 1888 | ]); | 2035 | ]); |
| 1889 | 2036 | ||
| 1890 | // Table Б.6 | 2037 | // Table Б.6 |
| @@ -2942,11 +3089,78 @@ class m160609_074818_tables extends Migration | @@ -2942,11 +3089,78 @@ class m160609_074818_tables extends Migration | ||
| 2942 | [ 'одягаюча' ], | 3089 | [ 'одягаюча' ], |
| 2943 | [ 'несуча' ], | 3090 | [ 'несуча' ], |
| 2944 | ]); | 3091 | ]); |
| 2945 | - | 3092 | + |
| 3093 | + // Table Demo1 | ||
| 3094 | + $this->createTable('surface_type', [ | ||
| 3095 | + 'surface_type_id' => $this->primaryKey(), | ||
| 3096 | + 'name' => $this->string(), | ||
| 3097 | + ]); | ||
| 3098 | + $this->batchInsert('surface_type', [ 'name' ], [ | ||
| 3099 | + [ 'асфальтобетон (горячий)' ], | ||
| 3100 | + ]); | ||
| 3101 | + | ||
| 3102 | + // Table Demo2 | ||
| 3103 | + $this->createTable('surface_treatment', [ | ||
| 3104 | + 'surface_treatment_id' => $this->primaryKey(), | ||
| 3105 | + 'name' => $this->string(), | ||
| 3106 | + ]); | ||
| 3107 | + $this->batchInsert('surface_treatment', [ 'name' ], [ | ||
| 3108 | + [ 'нема' ], | ||
| 3109 | + ]); | ||
| 3110 | + | ||
| 3111 | + // Table Demo3 | ||
| 3112 | + $this->createTable('road_passport', [ | ||
| 3113 | + 'road_passport_id' => $this->primaryKey(), | ||
| 3114 | + 'road_id' => $this->integer(), | ||
| 3115 | + 'region_id' => $this->integer(), | ||
| 3116 | + 'begin' => $this->float(), | ||
| 3117 | + 'end' => $this->float(), | ||
| 3118 | + ]); | ||
| 3119 | + | ||
| 3120 | + // Table Demo4 | ||
| 3121 | + $this->createTable('point', [ | ||
| 3122 | + 'point_id' => $this->primaryKey(), | ||
| 3123 | + 'road_passport_id' => $this->integer(), | ||
| 3124 | + 'lat' => $this->float(), | ||
| 3125 | + 'lng' => $this->float(), | ||
| 3126 | + 'km' => $this->float(), | ||
| 3127 | + 'num' => $this->integer(), | ||
| 3128 | + ]); | ||
| 3129 | + | ||
| 3130 | + // Table Demo5 | ||
| 3131 | + $this->createTable('road_service', [ | ||
| 3132 | + 'road_service_id' => $this->primaryKey(), | ||
| 3133 | + 'road_id' => $this->integer(), | ||
| 3134 | + 'region_id' => $this->integer(), | ||
| 3135 | + 'road_direction_id' => $this->integer(), | ||
| 3136 | + 'organization_id' => $this->integer(), | ||
| 3137 | + 'begin' => $this->float(), | ||
| 3138 | + 'end' => $this->float(), | ||
| 3139 | + 'year_begin' => $this->integer(), | ||
| 3140 | + ]); | ||
| 3141 | + | ||
| 3142 | + // Table Demo6 | ||
| 3143 | + $this->createTable('settlement_address_link', [ | ||
| 3144 | + 'settlement_address_link_id' => $this->primaryKey(), | ||
| 3145 | + 'road_id' => $this->integer(), | ||
| 3146 | + 'region_id' => $this->integer(), | ||
| 3147 | + 'settlement_location_id' => $this->integer(), | ||
| 3148 | + 'settlement_id' => $this->integer(), | ||
| 3149 | + 'begin' => $this->float(), | ||
| 3150 | + 'end' => $this->float(), | ||
| 3151 | + 'distance' => $this->float(), | ||
| 3152 | + ]); | ||
| 2946 | } | 3153 | } |
| 2947 | 3154 | ||
| 2948 | - public function down() | 3155 | + public function safeDown() |
| 2949 | { | 3156 | { |
| 3157 | + $this->dropTable('road'); | ||
| 3158 | + $this->dropTable('authority'); | ||
| 3159 | + $this->dropTable('contractor'); | ||
| 3160 | + $this->dropTable('digital_model'); | ||
| 3161 | + $this->dropTable('row'); | ||
| 3162 | + $this->dropTable('roadway'); | ||
| 3163 | + $this->dropTable('horizontal_curve_radius'); | ||
| 2950 | $this->dropTable('road_surface'); | 3164 | $this->dropTable('road_surface'); |
| 2951 | $this->dropTable('structural_layers'); | 3165 | $this->dropTable('structural_layers'); |
| 2952 | $this->dropTable('road_surface_strenght'); | 3166 | $this->dropTable('road_surface_strenght'); |
| @@ -2980,8 +3194,8 @@ class m160609_074818_tables extends Migration | @@ -2980,8 +3194,8 @@ class m160609_074818_tables extends Migration | ||
| 2980 | $this->dropTable('drainage_pipe_card'); | 3194 | $this->dropTable('drainage_pipe_card'); |
| 2981 | $this->dropTable('culvert_element_card'); | 3195 | $this->dropTable('culvert_element_card'); |
| 2982 | $this->dropTable('header_card'); | 3196 | $this->dropTable('header_card'); |
| 2983 | - $this->dropTable('bus_station'); | ||
| 2984 | - $this->dropTable('bus_station_card'); | 3197 | + $this->dropTable('bus_stop'); |
| 3198 | + $this->dropTable('bus_stop_card'); | ||
| 2985 | $this->dropTable('pavilion_card'); | 3199 | $this->dropTable('pavilion_card'); |
| 2986 | $this->dropTable('retaining_wall'); | 3200 | $this->dropTable('retaining_wall'); |
| 2987 | $this->dropTable('retaining_wall_card'); | 3201 | $this->dropTable('retaining_wall_card'); |
| @@ -3024,5 +3238,125 @@ class m160609_074818_tables extends Migration | @@ -3024,5 +3238,125 @@ class m160609_074818_tables extends Migration | ||
| 3024 | $this->dropTable('speed_limit'); | 3238 | $this->dropTable('speed_limit'); |
| 3025 | $this->dropTable('visibility_danger'); | 3239 | $this->dropTable('visibility_danger'); |
| 3026 | $this->dropTable('road_accident'); | 3240 | $this->dropTable('road_accident'); |
| 3241 | + $this->dropTable('road_maintenance_finance_plan'); | ||
| 3242 | + | ||
| 3243 | + $this->dropTable('road_maintenance_finance_fact'); | ||
| 3244 | + | ||
| 3245 | + $this->dropTable('road_maintenance_state'); | ||
| 3246 | + | ||
| 3247 | + $this->dropTable('critical_situation'); | ||
| 3248 | + | ||
| 3249 | + $this->dropTable('repair_work'); | ||
| 3250 | + | ||
| 3251 | + $this->dropTable('horizontal_curve_direction'); | ||
| 3252 | + | ||
| 3253 | + $this->dropTable('movement_direction'); | ||
| 3254 | + | ||
| 3255 | + $this->dropTable('position_according_road'); | ||
| 3256 | + | ||
| 3257 | + $this->dropTable('availability'); | ||
| 3258 | + | ||
| 3259 | + $this->dropTable('road_type'); | ||
| 3260 | + | ||
| 3261 | + $this->dropTable('road_category'); | ||
| 3262 | + | ||
| 3263 | + $this->dropTable('state_production'); | ||
| 3264 | + | ||
| 3265 | + $this->dropTable('bitumen_storage_type'); | ||
| 3266 | + | ||
| 3267 | + $this->dropTable('state'); | ||
| 3268 | + | ||
| 3269 | + $this->dropTable('storage_type'); | ||
| 3270 | + | ||
| 3271 | + $this->dropTable('vehicle_type'); | ||
| 3272 | + | ||
| 3273 | + $this->dropTable('obstacle_up'); | ||
| 3274 | + | ||
| 3275 | + $this->dropTable('land_soil'); | ||
| 3276 | + | ||
| 3277 | + $this->dropTable('state_common'); | ||
| 3278 | + | ||
| 3279 | + $this->dropTable('ventilation_type'); | ||
| 3280 | + | ||
| 3281 | + $this->dropTable('light_type'); | ||
| 3282 | + | ||
| 3283 | + $this->dropTable('antiseismic_type'); | ||
| 3284 | + | ||
| 3285 | + $this->dropTable('communication_type'); | ||
| 3286 | + | ||
| 3287 | + $this->dropTable('header_purpose'); | ||
| 3288 | + | ||
| 3289 | + $this->dropTable('header_type'); | ||
| 3290 | + | ||
| 3291 | + $this->dropTable('body_material'); | ||
| 3292 | + | ||
| 3293 | + $this->dropTable('foundation_material'); | ||
| 3294 | + | ||
| 3295 | + $this->dropTable('basement_material'); | ||
| 3296 | + | ||
| 3297 | + $this->dropTable('fortified_slope_material'); | ||
| 3298 | + | ||
| 3299 | + $this->dropTable('body_type'); | ||
| 3300 | + | ||
| 3301 | + $this->dropTable('span_scheme'); | ||
| 3302 | + | ||
| 3303 | + $this->dropTable('span_type'); | ||
| 3304 | + | ||
| 3305 | + $this->dropTable('load_project'); | ||
| 3306 | + | ||
| 3307 | + $this->dropTable('bearing_moving_type'); | ||
| 3308 | + | ||
| 3309 | + $this->dropTable('bearing_not_moving_type'); | ||
| 3310 | + | ||
| 3311 | + $this->dropTable('cross_joint_type'); | ||
| 3312 | + | ||
| 3313 | + $this->dropTable('pillar_type'); | ||
| 3314 | + | ||
| 3315 | + $this->dropTable('pillar_body_material'); | ||
| 3316 | + | ||
| 3317 | + $this->dropTable('pillar_foundation_type'); | ||
| 3318 | + | ||
| 3319 | + $this->dropTable('icebreaker_type'); | ||
| 3320 | + | ||
| 3321 | + $this->dropTable('icebreaker_material'); | ||
| 3322 | + | ||
| 3323 | + $this->dropTable('wall_material'); | ||
| 3324 | + | ||
| 3325 | + $this->dropTable('roof_material'); | ||
| 3326 | + | ||
| 3327 | + $this->dropTable('drainage_type'); | ||
| 3328 | + | ||
| 3329 | + $this->dropTable('span_project'); | ||
| 3330 | + | ||
| 3331 | + $this->dropTable('overground_crossing_approach_type'); | ||
| 3332 | + | ||
| 3333 | + $this->dropTable('sel_protection_type'); | ||
| 3334 | + | ||
| 3335 | + $this->dropTable('culvert_obstacle_type'); | ||
| 3336 | + | ||
| 3337 | + $this->dropTable('flow_direction'); | ||
| 3338 | + | ||
| 3339 | + $this->dropTable('culvert_element_work'); | ||
| 3340 | + | ||
| 3341 | + $this->dropTable('fortified_additional'); | ||
| 3342 | + | ||
| 3343 | + $this->dropTable('waterproof_type'); | ||
| 3344 | + | ||
| 3345 | + $this->dropTable('regulatory_type'); | ||
| 3346 | + | ||
| 3347 | + $this->dropTable('retaining_wall_type'); | ||
| 3348 | + | ||
| 3349 | + $this->dropTable('retaining_wall_purpose'); | ||
| 3350 | + | ||
| 3351 | + $this->dropTable('surface_type'); | ||
| 3352 | + | ||
| 3353 | + $this->dropTable('surface_treatment'); | ||
| 3354 | + | ||
| 3355 | + $this->dropTable('road_passport'); | ||
| 3356 | + | ||
| 3357 | + $this->dropTable('point'); | ||
| 3358 | + $this->dropTable('road_service'); | ||
| 3359 | + $this->dropTable('settlement_address_link'); | ||
| 3360 | + | ||
| 3027 | } | 3361 | } |
| 3028 | } | 3362 | } |
console/migrations/m160711_150500_flow_intensity.php
| @@ -5,7 +5,7 @@ | @@ -5,7 +5,7 @@ | ||
| 5 | class m160711_150500_flow_intensity extends Migration | 5 | class m160711_150500_flow_intensity extends Migration |
| 6 | { | 6 | { |
| 7 | 7 | ||
| 8 | - public function up() | 8 | + public function safeUp() |
| 9 | { | 9 | { |
| 10 | $this->createTable('flow_intensity', [ | 10 | $this->createTable('flow_intensity', [ |
| 11 | 'flow_intensity_id' => $this->primaryKey() | 11 | 'flow_intensity_id' => $this->primaryKey() |
| @@ -70,7 +70,7 @@ | @@ -70,7 +70,7 @@ | ||
| 70 | $this->addForeignKey('flow_intensity_settlement', 'flow_intensity', 'settlement_id', 'settlement', 'settlement_id', 'CASCADE', 'CASCADE'); | 70 | $this->addForeignKey('flow_intensity_settlement', 'flow_intensity', 'settlement_id', 'settlement', 'settlement_id', 'CASCADE', 'CASCADE'); |
| 71 | } | 71 | } |
| 72 | 72 | ||
| 73 | - public function down() | 73 | + public function safeDown() |
| 74 | { | 74 | { |
| 75 | $this->dropForeignKey('flow_intensity_road', 'flow_intensity'); | 75 | $this->dropForeignKey('flow_intensity_road', 'flow_intensity'); |
| 76 | $this->dropForeignKey('flow_intensity_region', 'flow_intensity'); | 76 | $this->dropForeignKey('flow_intensity_region', 'flow_intensity'); |
console/migrations/m160712_104942_create_road_to_category.php
| @@ -10,7 +10,7 @@ class m160712_104942_create_road_to_category extends Migration | @@ -10,7 +10,7 @@ class m160712_104942_create_road_to_category extends Migration | ||
| 10 | /** | 10 | /** |
| 11 | * @inheritdoc | 11 | * @inheritdoc |
| 12 | */ | 12 | */ |
| 13 | - public function up() | 13 | + public function safeUp() |
| 14 | { | 14 | { |
| 15 | $this->createTable('road_to_category', [ | 15 | $this->createTable('road_to_category', [ |
| 16 | 'road_to_category_id' => $this->primaryKey()->comment('Індекс'), | 16 | 'road_to_category_id' => $this->primaryKey()->comment('Індекс'), |
| @@ -29,7 +29,7 @@ class m160712_104942_create_road_to_category extends Migration | @@ -29,7 +29,7 @@ class m160712_104942_create_road_to_category extends Migration | ||
| 29 | /** | 29 | /** |
| 30 | * @inheritdoc | 30 | * @inheritdoc |
| 31 | */ | 31 | */ |
| 32 | - public function down() | 32 | + public function safeDown() |
| 33 | { | 33 | { |
| 34 | $this->dropForeignKey('road_to_category_region', 'road_to_category'); | 34 | $this->dropForeignKey('road_to_category_region', 'road_to_category'); |
| 35 | $this->dropForeignKey('road_to_category_road', 'road_to_category'); | 35 | $this->dropForeignKey('road_to_category_road', 'road_to_category'); |
console/migrations/m160712_110146_create_cross_section.php
| @@ -11,7 +11,7 @@ | @@ -11,7 +11,7 @@ | ||
| 11 | /** | 11 | /** |
| 12 | * @inheritdoc | 12 | * @inheritdoc |
| 13 | */ | 13 | */ |
| 14 | - public function up() | 14 | + public function safeUp() |
| 15 | { | 15 | { |
| 16 | $this->createTable('cross_section', [ | 16 | $this->createTable('cross_section', [ |
| 17 | 'cross_section_id' => $this->primaryKey() | 17 | 'cross_section_id' => $this->primaryKey() |
| @@ -49,22 +49,6 @@ | @@ -49,22 +49,6 @@ | ||
| 49 | 'state_common_id' => $this->integer() | 49 | 'state_common_id' => $this->integer() |
| 50 | ->comment('Технічний стан'), | 50 | ->comment('Технічний стан'), |
| 51 | ]); | 51 | ]); |
| 52 | - $this->createTable('surface_type', [ | ||
| 53 | - 'surface_type_id' => $this->primaryKey(), | ||
| 54 | - 'name' => $this->string(), | ||
| 55 | - ]); | ||
| 56 | - $this->createTable('state_common', [ | ||
| 57 | - 'state_common_id' => $this->primaryKey()->comment('Ідентифікатор'), | ||
| 58 | - 'value' => $this->string()->comment('Значення'), | ||
| 59 | - ]); | ||
| 60 | - $this->addCommentOnTable('state_common', 'Стан простого об’єкту'); | ||
| 61 | - $this->batchInsert('state_common', [ 'value' ], [ | ||
| 62 | - [ 'добрий' ], | ||
| 63 | - [ 'задовільний' ], | ||
| 64 | - [ 'незадовільний' ], | ||
| 65 | - [ 'непрацездатний' ], | ||
| 66 | - [ 'аварійний' ], | ||
| 67 | - ]); | ||
| 68 | $this->addForeignKey('cross_section_region', 'cross_section', 'region_id', 'region', 'region_id', 'CASCADE', 'CASCADE'); | 52 | $this->addForeignKey('cross_section_region', 'cross_section', 'region_id', 'region', 'region_id', 'CASCADE', 'CASCADE'); |
| 69 | $this->addForeignKey('cross_section_road', 'cross_section', 'road_id', 'road', 'road_id', 'CASCADE', 'CASCADE'); | 53 | $this->addForeignKey('cross_section_road', 'cross_section', 'road_id', 'road', 'road_id', 'CASCADE', 'CASCADE'); |
| 70 | $this->addForeignKey('cross_section_surface_type', 'cross_section', 'surface_type_id', 'surface_type', 'surface_type_id', 'CASCADE', 'CASCADE'); | 54 | $this->addForeignKey('cross_section_surface_type', 'cross_section', 'surface_type_id', 'surface_type', 'surface_type_id', 'CASCADE', 'CASCADE'); |
| @@ -74,14 +58,12 @@ | @@ -74,14 +58,12 @@ | ||
| 74 | /** | 58 | /** |
| 75 | * @inheritdoc | 59 | * @inheritdoc |
| 76 | */ | 60 | */ |
| 77 | - public function down() | 61 | + public function safeDown() |
| 78 | { | 62 | { |
| 79 | $this->dropForeignKey('cross_section_region', 'cross_section'); | 63 | $this->dropForeignKey('cross_section_region', 'cross_section'); |
| 80 | $this->dropForeignKey('cross_section_road', 'cross_section'); | 64 | $this->dropForeignKey('cross_section_road', 'cross_section'); |
| 81 | $this->dropForeignKey('cross_section_surface_type', 'cross_section'); | 65 | $this->dropForeignKey('cross_section_surface_type', 'cross_section'); |
| 82 | $this->dropForeignKey('cross_section_state_common', 'cross_section'); | 66 | $this->dropForeignKey('cross_section_state_common', 'cross_section'); |
| 83 | $this->dropTable('cross_section'); | 67 | $this->dropTable('cross_section'); |
| 84 | - $this->dropTable('surface_type'); | ||
| 85 | - $this->dropTable('state_common'); | ||
| 86 | } | 68 | } |
| 87 | } | 69 | } |
console/migrations/m160712_130834_create_road_surface.php deleted
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use yii\db\Migration; | ||
| 4 | - | ||
| 5 | -/** | ||
| 6 | - * Handles the creation for table `road_surface`. | ||
| 7 | - */ | ||
| 8 | -class m160712_130834_create_road_surface extends Migration | ||
| 9 | -{ | ||
| 10 | - /** | ||
| 11 | - * @inheritdoc | ||
| 12 | - */ | ||
| 13 | - public function up() | ||
| 14 | - { | ||
| 15 | - $this->createTable('road_surface', [ | ||
| 16 | - 'road_surface_id' => $this->primaryKey()->comment('Індекс'), | ||
| 17 | - 'road_id' => $this->integer()->comment('Дорога'), | ||
| 18 | - 'region_id' => $this->integer()->comment('Область'), | ||
| 19 | - 'road_direction_id' => $this->integer()->comment('Напрямок смуги руху'), | ||
| 20 | - 'begin' => $this->float()->comment('Місцезнаходження, км+ початок'), | ||
| 21 | - 'end' => $this->float()->comment('Місцезнаходження, км+ кінець'), | ||
| 22 | - 'surface_type_id' => $this->integer()->comment('Тип покриття'), | ||
| 23 | - 'surface_treatment_id' => $this->integer()->comment('Тип поверхневої обробки'), | ||
| 24 | - 'state_common_id' => $this->integer()->comment('Стан покриття'), | ||
| 25 | - ]); | ||
| 26 | - $this->createTable('surface_treatment', [ | ||
| 27 | - 'surface_treatment_id' => $this->primaryKey(), | ||
| 28 | - 'name' => $this->string(), | ||
| 29 | - ]); | ||
| 30 | - $this->batchInsert('surface_treatment', [ 'name' ], [ | ||
| 31 | - [ 'нема' ], | ||
| 32 | - ]); | ||
| 33 | - $this->addForeignKey('road_surface_road_direction', 'road_surface', 'road_direction_id', 'road_direction', 'road_direction_id', 'CASCADE', 'CASCADE'); | ||
| 34 | - $this->addForeignKey('road_surface_region', 'road_surface', 'region_id', 'region', 'region_id', 'CASCADE', 'CASCADE'); | ||
| 35 | - $this->addForeignKey('road_surface_road', 'road_surface', 'road_id', 'road', 'road_id', 'CASCADE', 'CASCADE'); | ||
| 36 | - $this->addForeignKey('road_surface_surface_type', 'road_surface', 'surface_type_id', 'surface_type', 'surface_type_id', 'CASCADE', 'CASCADE'); | ||
| 37 | - $this->addForeignKey('road_surface_state_common', 'road_surface', 'state_common_id', 'state_common', 'state_common_id', 'CASCADE', 'CASCADE'); | ||
| 38 | - $this->addForeignKey('road_surface_surface_treatment', 'road_surface', 'surface_treatment_id', 'surface_treatment', 'surface_treatment_id', 'CASCADE', 'CASCADE'); | ||
| 39 | - } | ||
| 40 | - | ||
| 41 | - /** | ||
| 42 | - * @inheritdoc | ||
| 43 | - */ | ||
| 44 | - public function down() | ||
| 45 | - { | ||
| 46 | - $this->dropForeignKey('road_surface_road_direction', 'road_surface'); | ||
| 47 | - $this->dropForeignKey('road_surface_region', 'road_surface'); | ||
| 48 | - $this->dropForeignKey('road_surface_road', 'road_surface'); | ||
| 49 | - $this->dropForeignKey('road_surface_surface_type', 'road_surface'); | ||
| 50 | - $this->dropForeignKey('road_surface_state_common', 'road_surface'); | ||
| 51 | - $this->dropForeignKey('road_surface_surface_treatment', 'road_surface'); | ||
| 52 | - $this->dropTable('road_surface'); | ||
| 53 | - $this->dropTable('surface_treatment'); | ||
| 54 | - } | ||
| 55 | -} |
console/migrations/m160712_142430_create_road_width.php
| @@ -11,7 +11,7 @@ class m160712_142430_create_road_width extends Migration | @@ -11,7 +11,7 @@ class m160712_142430_create_road_width extends Migration | ||
| 11 | /** | 11 | /** |
| 12 | * @inheritdoc | 12 | * @inheritdoc |
| 13 | */ | 13 | */ |
| 14 | - public function up() | 14 | + public function safeUp() |
| 15 | { | 15 | { |
| 16 | $this->createTable('road_width', [ | 16 | $this->createTable('road_width', [ |
| 17 | 'road_width_id' => $this->primaryKey()->comment('Індекс'), | 17 | 'road_width_id' => $this->primaryKey()->comment('Індекс'), |
| @@ -35,7 +35,7 @@ class m160712_142430_create_road_width extends Migration | @@ -35,7 +35,7 @@ class m160712_142430_create_road_width extends Migration | ||
| 35 | /** | 35 | /** |
| 36 | * @inheritdoc | 36 | * @inheritdoc |
| 37 | */ | 37 | */ |
| 38 | - public function down() | 38 | + public function safeDown() |
| 39 | { | 39 | { |
| 40 | $this->dropForeignKey('road_width_region', 'road_width'); | 40 | $this->dropForeignKey('road_width_region', 'road_width'); |
| 41 | $this->dropForeignKey('road_width_road', 'road_width'); | 41 | $this->dropForeignKey('road_width_road', 'road_width'); |
console/migrations/m160712_144805_create_service_object.php
| @@ -11,7 +11,7 @@ | @@ -11,7 +11,7 @@ | ||
| 11 | /** | 11 | /** |
| 12 | * @inheritdoc | 12 | * @inheritdoc |
| 13 | */ | 13 | */ |
| 14 | - public function up() | 14 | + public function safeUp() |
| 15 | { | 15 | { |
| 16 | $this->createTable('service_object', [ | 16 | $this->createTable('service_object', [ |
| 17 | 'service_object_id' => $this->primaryKey() | 17 | 'service_object_id' => $this->primaryKey() |
| @@ -65,7 +65,7 @@ | @@ -65,7 +65,7 @@ | ||
| 65 | /** | 65 | /** |
| 66 | * @inheritdoc | 66 | * @inheritdoc |
| 67 | */ | 67 | */ |
| 68 | - public function down() | 68 | + public function safeDown() |
| 69 | { | 69 | { |
| 70 | $this->dropForeignKey('service_object_road', 'service_object'); | 70 | $this->dropForeignKey('service_object_road', 'service_object'); |
| 71 | $this->dropForeignKey('service_object_region', 'service_object'); | 71 | $this->dropForeignKey('service_object_region', 'service_object'); |
console/migrations/m160712_144806_create_bus_stop.php deleted
| 1 | -<?php | ||
| 2 | - | ||
| 3 | - use yii\db\Migration; | ||
| 4 | - | ||
| 5 | - /** | ||
| 6 | - * Handles the creation for table `service_object`. | ||
| 7 | - */ | ||
| 8 | - class m160712_144806_create_bus_stop extends Migration | ||
| 9 | - { | ||
| 10 | - | ||
| 11 | - /** | ||
| 12 | - * @inheritdoc | ||
| 13 | - */ | ||
| 14 | - public function up() | ||
| 15 | - { | ||
| 16 | - $this->createTable('bus_stop', [ | ||
| 17 | - 'bus_stop_id' => $this->primaryKey() | ||
| 18 | - ->comment('Індекс'), | ||
| 19 | - 'road_id' => $this->integer() | ||
| 20 | - ->comment('Дорога'), | ||
| 21 | - 'region_id' => $this->integer() | ||
| 22 | - ->comment('Область'), | ||
| 23 | - 'settlement_id' => $this->integer() | ||
| 24 | - ->comment('Назва населеного пункту'), | ||
| 25 | - 'location_right' => $this->float() | ||
| 26 | - ->comment('Місцезнаходження, км+ справа'), | ||
| 27 | - 'location_left' => $this->float() | ||
| 28 | - ->comment('Місцезнаходження, км+ зліва'), | ||
| 29 | - 'surface_type_id' => $this->integer() | ||
| 30 | - ->comment('Тип покриття'), | ||
| 31 | - 'area_stop_availability' => $this->integer() | ||
| 32 | - ->comment('Наявність елементів зупин. майдан'), | ||
| 33 | - 'area_land_availability' => $this->integer() | ||
| 34 | - ->comment('Наявність елементів посад. майдан'), | ||
| 35 | - 'pocket_availability' => $this->integer() | ||
| 36 | - ->comment('Наявність елементів заїзна кишеня'), | ||
| 37 | - 'toilet_availability' => $this->integer() | ||
| 38 | - ->comment('Наявність елементів туалет'), | ||
| 39 | - 'year_build' => $this->integer() | ||
| 40 | - ->comment('Рік будівництва'), | ||
| 41 | - 'year_repair' => $this->integer() | ||
| 42 | - ->comment('Рік ремонту'), | ||
| 43 | - 'state_common_id' => $this->integer() | ||
| 44 | - ->comment('Технічний стан'), | ||
| 45 | - ]); | ||
| 46 | - $this->addForeignKey('bus_stop_road', 'bus_stop', 'road_id', 'road', 'road_id', 'CASCADE', 'CASCADE'); | ||
| 47 | - $this->addForeignKey('bus_stop_region', 'bus_stop', 'region_id', 'region', 'region_id', 'CASCADE', 'CASCADE'); | ||
| 48 | - $this->addForeignKey('bus_stop_settlement', 'bus_stop', 'settlement_id', 'settlement', 'settlement_id', 'CASCADE', 'CASCADE'); | ||
| 49 | - $this->addForeignKey('bus_stop_surface_type', 'bus_stop', 'surface_type_id', 'surface_type', 'surface_type_id', 'CASCADE', 'CASCADE'); | ||
| 50 | - $this->addForeignKey('bus_stop_state_common', 'bus_stop', 'state_common_id', 'state_common', 'state_common_id', 'CASCADE', 'CASCADE'); | ||
| 51 | - } | ||
| 52 | - | ||
| 53 | - /** | ||
| 54 | - * @inheritdoc | ||
| 55 | - */ | ||
| 56 | - public function down() | ||
| 57 | - { | ||
| 58 | - $this->dropForeignKey('bus_stop_road', 'bus_stop'); | ||
| 59 | - $this->dropForeignKey('bus_stop_region', 'bus_stop'); | ||
| 60 | - $this->dropForeignKey('bus_stop_settlement', 'bus_stop'); | ||
| 61 | - $this->dropForeignKey('bus_stop_surface_type', 'bus_stop'); | ||
| 62 | - $this->dropForeignKey('bus_stop_state_common', 'bus_stop'); | ||
| 63 | - $this->dropTable('bus_stop'); | ||
| 64 | - } | ||
| 65 | - } |
console/migrations/m160712_144808_map_relations.php
0 → 100644
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +use yii\db\Migration; | ||
| 4 | + | ||
| 5 | +class m160712_144808_map_relations extends Migration | ||
| 6 | +{ | ||
| 7 | + public function safeUp() | ||
| 8 | + { | ||
| 9 | + $this->addForeignKey('road_road_type', 'road', 'road_type_id', 'road_type', 'road_type_id', 'CASCADE', 'CASCADE'); | ||
| 10 | + $this->addForeignKey('bus_stop_road', 'bus_stop', 'road_id', 'road', 'road_id', 'CASCADE', 'CASCADE'); | ||
| 11 | + $this->addForeignKey('bus_stop_surface_type', 'bus_stop', 'surface_type_id', 'surface_type', 'surface_type_id', 'CASCADE', 'CASCADE'); | ||
| 12 | + $this->addForeignKey('bus_stop_state_common', 'bus_stop', 'state_common_id', 'state_common', 'state_common_id', 'CASCADE', 'CASCADE'); | ||
| 13 | + $this->addForeignKey('bus_stop_region', 'bus_stop', 'region_id', 'region', 'region_id', 'CASCADE', 'CASCADE'); | ||
| 14 | + $this->addForeignKey('bus_stop_settlement', 'bus_stop', 'settlement_id', 'settlement', 'settlement_id', 'CASCADE', 'CASCADE'); | ||
| 15 | + $this->addForeignKey('road_surface_road', 'road_surface', 'road_id', 'road', 'road_id', 'CASCADE', 'CASCADE'); | ||
| 16 | + $this->addForeignKey('road_surface_region', 'road_surface', 'region_id', 'region', 'region_id', 'CASCADE', 'CASCADE'); | ||
| 17 | + $this->addForeignKey('road_surface_surface_type', 'road_surface', 'surface_type_id', 'surface_type', 'surface_type_id', 'CASCADE', 'CASCADE'); | ||
| 18 | + $this->addForeignKey('road_surface_road_direction', 'road_surface', 'road_direction_id', 'road_direction', 'road_direction_id', 'CASCADE', 'CASCADE'); | ||
| 19 | + $this->addForeignKey('road_surface_surface_treatment', 'road_surface', 'surface_treatment_id', 'surface_treatment', 'surface_treatment_id', 'CASCADE', 'CASCADE'); | ||
| 20 | + $this->addForeignKey('road_surface_state_common', 'road_surface', 'state_common_id', 'state_common', 'state_common_id', 'CASCADE', 'CASCADE'); | ||
| 21 | + $this->addForeignKey('road_passport_road', 'road_passport', 'road_id', 'road', 'road_id', 'CASCADE', 'CASCADE'); | ||
| 22 | + $this->addForeignKey('road_passport_region', 'road_passport', 'region_id', 'region', 'region_id', 'CASCADE', 'CASCADE'); | ||
| 23 | + $this->addForeignKey('point_road_passport', 'point', 'road_passport_id', 'road_passport', 'road_passport_id', 'CASCADE', 'CASCADE'); | ||
| 24 | + $this->addForeignKey('road_service_road', 'road_service', 'road_id', 'road', 'road_id', 'CASCADE', 'CASCADE'); | ||
| 25 | + $this->addForeignKey('road_service_region', 'road_service', 'region_id', 'region', 'region_id', 'CASCADE', 'CASCADE'); | ||
| 26 | + $this->addForeignKey('road_service_road_direction', 'road_service', 'road_direction_id', 'road_direction', 'road_direction_id', 'CASCADE', 'CASCADE'); | ||
| 27 | + $this->addForeignKey('road_service_organization', 'road_service', 'organization_id', 'organization', 'organization_id', 'CASCADE', 'CASCADE'); | ||
| 28 | + $this->addForeignKey('settlement_address_link_road', 'settlement_address_link', 'road_id', 'road', 'road_id', 'CASCADE', 'CASCADE'); | ||
| 29 | + $this->addForeignKey('settlement_address_link_region', 'settlement_address_link', 'region_id', 'region', 'region_id', 'CASCADE', 'CASCADE'); | ||
| 30 | + $this->addForeignKey('settlement_address_link_settlement_location', 'settlement_address_link', 'settlement_location_id', 'settlement_location', 'settlement_location_id', 'CASCADE', 'CASCADE'); | ||
| 31 | + $this->addForeignKey('settlement_address_link_settlement', 'settlement_address_link', 'settlement_id', 'settlement', 'settlement_id', 'CASCADE', 'CASCADE'); | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + public function safeDown() | ||
| 35 | + { | ||
| 36 | + $this->dropForeignKey('road_road_type', 'road'); | ||
| 37 | + $this->dropForeignKey('bus_stop_road', 'bus_stop'); | ||
| 38 | + $this->dropForeignKey('bus_stop_surface_type', 'bus_stop'); | ||
| 39 | + $this->dropForeignKey('bus_stop_state_common', 'bus_stop'); | ||
| 40 | + $this->dropForeignKey('bus_stop_region', 'bus_stop'); | ||
| 41 | + $this->dropForeignKey('bus_stop_settlement', 'bus_stop'); | ||
| 42 | + $this->dropForeignKey('road_surface_road', 'road_surface'); | ||
| 43 | + $this->dropForeignKey('road_surface_region', 'road_surface'); | ||
| 44 | + $this->dropForeignKey('road_surface_surface_type', 'road_surface'); | ||
| 45 | + $this->dropForeignKey('road_surface_road_direction', 'road_surface'); | ||
| 46 | + $this->dropForeignKey('road_surface_surface_treatment', 'road_surface'); | ||
| 47 | + $this->dropForeignKey('road_surface_state_common', 'road_surface'); | ||
| 48 | + $this->dropForeignKey('road_passport_road', 'road_passport'); | ||
| 49 | + $this->dropForeignKey('road_passport_region', 'road_passport'); | ||
| 50 | + $this->dropForeignKey('point_road_passport', 'point'); | ||
| 51 | + $this->dropForeignKey('road_service_road', 'road_service'); | ||
| 52 | + $this->dropForeignKey('road_service_region', 'road_service'); | ||
| 53 | + $this->dropForeignKey('road_service_road_direction', 'road_service'); | ||
| 54 | + $this->dropForeignKey('road_service_organization', 'road_service'); | ||
| 55 | + $this->dropForeignKey('settlement_address_link_road', 'settlement_address_link'); | ||
| 56 | + $this->dropForeignKey('settlement_address_link_region', 'settlement_address_link'); | ||
| 57 | + $this->dropForeignKey('settlement_address_link_settlement_location', 'settlement_address_link'); | ||
| 58 | + $this->dropForeignKey('settlement_address_link_settlement', 'settlement_address_link'); | ||
| 59 | + } | ||
| 60 | +} |
console/migrations/m160714_091034_rename_road_name.php
0 → 100644
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +use yii\db\Migration; | ||
| 4 | + | ||
| 5 | +class m160714_091034_rename_road_name extends Migration | ||
| 6 | +{ | ||
| 7 | + public function up() | ||
| 8 | + { | ||
| 9 | + $this->renameColumn('road', 'road_name', 'name'); | ||
| 10 | + } | ||
| 11 | + | ||
| 12 | + public function down() | ||
| 13 | + { | ||
| 14 | + $this->renameColumn('road', 'name', 'road_name'); | ||
| 15 | + | ||
| 16 | + } | ||
| 17 | +} |
console/migrations/m160714_091712_add_road_index.php
0 → 100644
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +use yii\db\Migration; | ||
| 4 | + | ||
| 5 | +class m160714_091712_add_road_index extends Migration | ||
| 6 | +{ | ||
| 7 | + public function up() | ||
| 8 | + { | ||
| 9 | + $this->addColumn('road', 'index', $this->integer()->notNull()); | ||
| 10 | + } | ||
| 11 | + | ||
| 12 | + public function down() | ||
| 13 | + { | ||
| 14 | + $this->dropColumn('road', 'index'); | ||
| 15 | + } | ||
| 16 | +} |
frontend/controllers/RoadController.php
| @@ -63,15 +63,9 @@ | @@ -63,15 +63,9 @@ | ||
| 63 | ->indexBy('road_type_id') | 63 | ->indexBy('road_type_id') |
| 64 | ->asArray() | 64 | ->asArray() |
| 65 | ->column(); | 65 | ->column(); |
| 66 | - $road_categories = RoadCategory::find() | ||
| 67 | - ->select('value') | ||
| 68 | - ->indexBy('road_category_id') | ||
| 69 | - ->asArray() | ||
| 70 | - ->column(); | ||
| 71 | return $this->render('create', [ | 66 | return $this->render('create', [ |
| 72 | 'road' => $road, | 67 | 'road' => $road, |
| 73 | 'road_types' => $road_types, | 68 | 'road_types' => $road_types, |
| 74 | - 'road_categories' => $road_categories, | ||
| 75 | ]); | 69 | ]); |
| 76 | } | 70 | } |
| 77 | } | 71 | } |
| @@ -98,7 +92,7 @@ | @@ -98,7 +92,7 @@ | ||
| 98 | public function actionIndex() | 92 | public function actionIndex() |
| 99 | { | 93 | { |
| 100 | $query = Road::find() | 94 | $query = Road::find() |
| 101 | - ->with('roadCategory', 'roadType'); | 95 | + ->with('roadType'); |
| 102 | $dataProvider = new ActiveDataProvider([ | 96 | $dataProvider = new ActiveDataProvider([ |
| 103 | 'query' => $query, | 97 | 'query' => $query, |
| 104 | 'pagination' => [ | 98 | 'pagination' => [ |
| @@ -129,15 +123,9 @@ | @@ -129,15 +123,9 @@ | ||
| 129 | ->indexBy('road_type_id') | 123 | ->indexBy('road_type_id') |
| 130 | ->asArray() | 124 | ->asArray() |
| 131 | ->column(); | 125 | ->column(); |
| 132 | - $road_categories = RoadCategory::find() | ||
| 133 | - ->select('value') | ||
| 134 | - ->indexBy('road_category_id') | ||
| 135 | - ->asArray() | ||
| 136 | - ->column(); | ||
| 137 | return $this->render('update', [ | 126 | return $this->render('update', [ |
| 138 | 'road' => $road, | 127 | 'road' => $road, |
| 139 | 'road_types' => $road_types, | 128 | 'road_types' => $road_types, |
| 140 | - 'road_categories' => $road_categories, | ||
| 141 | ]); | 129 | ]); |
| 142 | } | 130 | } |
| 143 | } | 131 | } |
frontend/views/road/create.php
| @@ -3,7 +3,6 @@ | @@ -3,7 +3,6 @@ | ||
| 3 | /** | 3 | /** |
| 4 | * @var Road $road | 4 | * @var Road $road |
| 5 | * @var array $road_types | 5 | * @var array $road_types |
| 6 | - * @var array $road_categories | ||
| 7 | */ | 6 | */ |
| 8 | 7 | ||
| 9 | use common\models\Road; | 8 | use common\models\Road; |
| @@ -18,7 +17,6 @@ | @@ -18,7 +17,6 @@ | ||
| 18 | $form = ActiveForm::begin([ 'id' => 'road-form' ]); | 17 | $form = ActiveForm::begin([ 'id' => 'road-form' ]); |
| 19 | echo $form->field($road, 'name')->textInput(); | 18 | echo $form->field($road, 'name')->textInput(); |
| 20 | echo $form->field($road, 'road_type_id')->dropDownList($road_types); | 19 | echo $form->field($road, 'road_type_id')->dropDownList($road_types); |
| 21 | - echo $form->field($road, 'road_category_id')->dropDownList($road_categories); | ||
| 22 | echo $form->field($road, 'index')->textInput(); | 20 | echo $form->field($road, 'index')->textInput(); |
| 23 | echo Html::submitButton('Добавить', ['class' => 'btn btn-success']); | 21 | echo Html::submitButton('Добавить', ['class' => 'btn btn-success']); |
| 24 | $form->end(); | 22 | $form->end(); |
frontend/views/road/index.php
frontend/views/road/update.php
| @@ -3,7 +3,6 @@ | @@ -3,7 +3,6 @@ | ||
| 3 | /** | 3 | /** |
| 4 | * @var Road $road | 4 | * @var Road $road |
| 5 | * @var array $road_types | 5 | * @var array $road_types |
| 6 | - * @var array $road_categories | ||
| 7 | */ | 6 | */ |
| 8 | 7 | ||
| 9 | use common\models\Road; | 8 | use common\models\Road; |
| @@ -18,7 +17,6 @@ | @@ -18,7 +17,6 @@ | ||
| 18 | $form = ActiveForm::begin([ 'id' => 'road-form' ]); | 17 | $form = ActiveForm::begin([ 'id' => 'road-form' ]); |
| 19 | echo $form->field($road, 'name')->textInput(); | 18 | echo $form->field($road, 'name')->textInput(); |
| 20 | echo $form->field($road, 'road_type_id')->dropDownList($road_types); | 19 | echo $form->field($road, 'road_type_id')->dropDownList($road_types); |
| 21 | - echo $form->field($road, 'road_category_id')->dropDownList($road_categories); | ||
| 22 | echo $form->field($road, 'index')->textInput(); | 20 | echo $form->field($road, 'index')->textInput(); |
| 23 | echo Html::submitButton('Добавить', ['class' => 'btn btn-success']); | 21 | echo Html::submitButton('Добавить', ['class' => 'btn btn-success']); |
| 24 | $form->end(); | 22 | $form->end(); |