Commit 7c91af502d6721f3c496a39bbb5d799fc99c168d
1 parent
6845880319
Exists in
master
and in
1 other branch
Баг в соискателях
Showing 3 changed files with 827 additions and 3 deletions Inline Diff
app/Models/Worker.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace App\Models; | 3 | namespace App\Models; |
4 | 4 | ||
5 | use Illuminate\Database\Eloquent\Factories\HasFactory; | 5 | use Illuminate\Database\Eloquent\Factories\HasFactory; |
6 | use Illuminate\Database\Eloquent\Model; | 6 | use Illuminate\Database\Eloquent\Model; |
7 | 7 | ||
8 | class Worker extends Model | 8 | class Worker extends Model |
9 | { | 9 | { |
10 | use HasFactory; | 10 | use HasFactory; |
11 | 11 | ||
12 | protected $table = 'workers'; | 12 | protected $table = 'Workers'; |
13 | 13 | ||
14 | protected $fillable = [ | 14 | protected $fillable = [ |
15 | 'user_id', | 15 | 'user_id', |
16 | 'status_work', | 16 | 'status_work', |
17 | 'position_work', | 17 | 'position_work', |
18 | 'telephone', | 18 | 'telephone', |
19 | 'telephone2', | 19 | 'telephone2', |
20 | 'persent_anketa', | 20 | 'persent_anketa', |
21 | 'photo', | 21 | 'photo', |
22 | 'email_data', | 22 | 'email_data', |
23 | 'status_profile', | 23 | 'status_profile', |
24 | 'old_year', | 24 | 'old_year', |
25 | 'experience', | 25 | 'experience', |
26 | 'en_is', | 26 | 'en_is', |
27 | 'education', | 27 | 'education', |
28 | 'email', | 28 | 'email', |
29 | 'interpassport', | 29 | 'interpassport', |
30 | 'mk', | 30 | 'mk', |
31 | 'vvp', | 31 | 'vvp', |
32 | 'vlm', | 32 | 'vlm', |
33 | 'reka_diplom', | 33 | 'reka_diplom', |
34 | 'more_diplom', | 34 | 'more_diplom', |
35 | 'mpss', | 35 | 'mpss', |
36 | 'tanker', | 36 | 'tanker', |
37 | 'gmssb', | 37 | 'gmssb', |
38 | 'resume', | 38 | 'resume', |
39 | 'sort', | 39 | 'sort', |
40 | 'updated_at', | 40 | 'updated_at', |
41 | 'text', | 41 | 'text', |
42 | 'address', | 42 | 'address', |
43 | 'city', | 43 | 'city', |
44 | 'coord', | 44 | 'coord', |
45 | 'file', | 45 | 'file', |
46 | 'is_remove', | 46 | 'is_remove', |
47 | 'favorite_user', | 47 | 'favorite_user', |
48 | 'sroch_user' | 48 | 'sroch_user' |
49 | ]; | 49 | ]; |
50 | 50 | ||
51 | /* | 51 | /* |
52 | * Связь таблицы users с таблицей workers | 52 | * Связь таблицы users с таблицей workers |
53 | */ | 53 | */ |
54 | public function users() { | 54 | public function users() { |
55 | return $this->belongsTo(User::class, 'user_id'); | 55 | return $this->belongsTo(User::class, 'user_id'); |
56 | } | 56 | } |
57 | 57 | ||
58 | public function scopeActive($query) { | 58 | public function scopeActive($query) { |
59 | return $query->where('is_remove', '=', '0'); | 59 | return $query->where('is_remove', '=', '0'); |
60 | } | 60 | } |
61 | } | 61 | } |
62 | 62 |
resources/views/admin/worker/index.blade.php
1 | @extends('layout.admin', ['title' => 'Админка - Работники']) | 1 | @extends('layout.admin', ['title' => 'Админка - Работники']) |
2 | 2 | ||
3 | @section('script') | 3 | @section('script') |
4 | <script> | 4 | <script> |
5 | $(document).ready(function() { | 5 | $(document).ready(function() { |
6 | $(document).on('click', '.checkban', function () { | 6 | $(document).on('click', '.checkban', function () { |
7 | var this_ = $(this); | 7 | var this_ = $(this); |
8 | var value = this_.val(); | 8 | var value = this_.val(); |
9 | var ajax_block = $('#ajax_block'); | 9 | var ajax_block = $('#ajax_block'); |
10 | var bool = 0; | 10 | var bool = 0; |
11 | 11 | ||
12 | if(this.checked){ | 12 | if(this.checked){ |
13 | bool = 1; | 13 | bool = 1; |
14 | } else { | 14 | } else { |
15 | bool = 0; | 15 | bool = 0; |
16 | } | 16 | } |
17 | 17 | ||
18 | $.ajax({ | 18 | $.ajax({ |
19 | type: "GET", | 19 | type: "GET", |
20 | url: "{{ url()->full()}}", | 20 | url: "{{ url()->full()}}", |
21 | data: "id=" + value + "&is_ban=" + bool, | 21 | data: "id=" + value + "&is_ban=" + bool, |
22 | success: function (data) { | 22 | success: function (data) { |
23 | console.log('Обновление таблицы работников '); | 23 | console.log('Обновление таблицы работников '); |
24 | //data = JSON.parse(data); | 24 | //data = JSON.parse(data); |
25 | console.log(data); | 25 | console.log(data); |
26 | ajax_block.html(data); | 26 | ajax_block.html(data); |
27 | }, | 27 | }, |
28 | headers: { | 28 | headers: { |
29 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 29 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
30 | }, | 30 | }, |
31 | error: function (data) { | 31 | error: function (data) { |
32 | console.log('Error: ' + data); | 32 | console.log('Error: ' + data); |
33 | } | 33 | } |
34 | }); | 34 | }); |
35 | }); | 35 | }); |
36 | 36 | ||
37 | }); | 37 | }); |
38 | </script> | 38 | </script> |
39 | @endsection | 39 | @endsection |
40 | 40 | ||
41 | @section('search') | 41 | @section('search') |
42 | @include('admin.find_worker', ['find_status_work' => $find_status_work]) | 42 | @include('admin.find_worker', ['find_status_work' => $find_status_work]) |
43 | @endsection | 43 | @endsection |
44 | 44 | ||
45 | @section('content') | 45 | @section('content') |
46 | <div class="w-full overflow-hidden rounded-lg shadow-xs" id="ajax_block"> | 46 | <div class="w-full overflow-hidden rounded-lg shadow-xs" id="ajax_block"> |
47 | <div class="w-full overflow-x-auto"> | 47 | <div class="w-full overflow-x-auto"> |
48 | <table class="w-full whitespace-no-wrap"> | 48 | <table class="w-full whitespace-no-wrap"> |
49 | <thead> | 49 | <thead> |
50 | <tr | 50 | <tr |
51 | class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800" | 51 | class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800" |
52 | > | 52 | > |
53 | <th class="px-4 py-3">№</th> | 53 | <th class="px-4 py-3">№</th> |
54 | <th class="px-4 py-3">Имя</th> | 54 | <th class="px-4 py-3">Имя</th> |
55 | <th class="px-4 py-3">Email/Телефон</th> | 55 | <th class="px-4 py-3">Email/Телефон</th> |
56 | <th class="px-4 py-3">% заполнения анкеты</th> | 56 | <th class="px-4 py-3">% заполнения анкеты</th> |
57 | <th class="px-4 py-3">Должность</th> | 57 | <th class="px-4 py-3">Должность</th> |
58 | <th class="px-4 py-3">Дата регистрации</th> | 58 | <th class="px-4 py-3">Дата регистрации</th> |
59 | <th class="px-4 py-3">Изменить</th> | 59 | <th class="px-4 py-3">Изменить</th> |
60 | <!--<th class="px-4 py-3">Бан</th>--> | 60 | <!--<th class="px-4 py-3">Бан</th>--> |
61 | </tr> | 61 | </tr> |
62 | </thead> | 62 | </thead> |
63 | <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800"> | 63 | <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800"> |
64 | @foreach($users as $user) | 64 | @foreach($users as $user) |
65 | <tr class="text-gray-700 dark:text-gray-400"> | 65 | <tr class="text-gray-700 dark:text-gray-400"> |
66 | <td class="px-4 py-3"> | 66 | <td class="px-4 py-3"> |
67 | {{$user->id}} | 67 | {{$user->id}} |
68 | </td> | 68 | </td> |
69 | <td class="px-4 py-3"> | 69 | <td class="px-4 py-3"> |
70 | {{ !empty($user->name_man) ? $user->name_man : $user->name }} | 70 | {{ !empty($user->name_man) ? $user->name_man : $user->name }} |
71 | </td> | 71 | </td> |
72 | <td class="px-4 py-3 text-sm"> | 72 | <td class="px-4 py-3 text-sm"> |
73 | <div class="flex items-center text-sm"> | 73 | <div class="flex items-center text-sm"> |
74 | <div> | 74 | <div> |
75 | <p class="font-semibold">{{ empty($user->workers->email) ? $user->email : $user->workers->email }}</p> | 75 | <p class="font-semibold">{{ empty($user->workers->email) ? $user->email : $user->workers->email }}</p> |
76 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 76 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
77 | {{ empty($user->workers->telephone) ? $user->telephone : $user->workers->telephone }} | 77 | {{ empty($user->workers->telephone) ? $user->telephone : $user->workers->telephone }} |
78 | </p> | 78 | </p> |
79 | </div> | 79 | </div> |
80 | </div> | 80 | </div> |
81 | </td> | 81 | </td> |
82 | <td class="px-4 py-3 text-xs"> | 82 | <td class="px-4 py-3 text-xs"> |
83 | @if (isset($user->workers[0]->persent_anketa)) | 83 | @if (isset($user->workers[0]->persent_anketa)) |
84 | @if ($user->workers[0]->persent_anketa > 40) | 84 | @if ($user->workers[0]->persent_anketa > 40) |
85 | <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100"> | 85 | <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100"> |
86 | {{$user->workers[0]->persent_anketa}}% | 86 | {{$user->workers[0]->persent_anketa}}% |
87 | </span> | 87 | </span> |
88 | @else | 88 | @else |
89 | <span class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600"> | 89 | <span class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600"> |
90 | {{$user->workers[0]->persent_anketa}}% | 90 | {{$user->workers[0]->persent_anketa}}% |
91 | </span> | 91 | </span> |
92 | @endif | 92 | @endif |
93 | @else | 93 | @else |
94 | <span class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600"> | 94 | <span class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600"> |
95 | 0% | 95 | 0% |
96 | </span> | 96 | </span> |
97 | @endif | 97 | @endif |
98 | </td> | 98 | </td> |
99 | <td class="px-4 py-3 text-sm"> | 99 | <td class="px-4 py-3 text-sm"> |
100 | @if (isset($user->jobtitles[0]->name)) | 100 | @if (isset($user->jobtitles[0]->name)) |
101 | {{ $user->jobtitles[0]->name }} | 101 | {{ $user->jobtitles[0]->name }} |
102 | @else | 102 | @else |
103 | Не задана | 103 | Не задана |
104 | @endif | 104 | @endif |
105 | </td> | 105 | </td> |
106 | <td class="px-4 py-3 text-sm"> | 106 | <td class="px-4 py-3 text-sm"> |
107 | {{ $user->created_at }} | 107 | {{ $user->created_at }} |
108 | </td> | 108 | </td> |
109 | <td class="px-4 py-3 text-sm"> | 109 | <td class="px-4 py-3 text-sm"> |
110 | @if ($user->id > 1) | 110 | @if ($user->id > 1) |
111 | @if (isset($user->workers[0]->id)) | 111 | @if (isset($user->workers[0]->id)) |
112 | <a href="{{ route('admin.worker-profile-edit', ['worker' => $user->workers[0]->id]) }}">Изменить</a> | 112 | <a href="{{ route('admin.worker-profile-edit', ['worker' => $user->workers[0]->id]) }}">Изменить</a> |
113 | 113 | ||
114 | @endif | 114 | @endif |
115 | @endif | 115 | @endif |
116 | </td> | 116 | </td> |
117 | <td class="px-4 py-3 text-sm"> | 117 | <!--<td class="px-4 py-3 text-sm"> |
118 | @if ($user->id > 1) | 118 | @if ($user->id > 1) |
119 | <input type="checkbox" class="checkban" value="{{$user->id}}" name="ban_{{$user->id}}" {{ ($user->is_ban) ? "checked" : "" }}/> | 119 | <input type="checkbox" class="checkban" value="{{$user->id}}" name="ban_{{$user->id}}" {{ ($user->is_ban) ? "checked" : "" }}/> |
120 | @endif | 120 | @endif |
121 | </td> | 121 | </td>--> |
122 | </tr> | 122 | </tr> |
123 | @endforeach | 123 | @endforeach |
124 | </tbody> | 124 | </tbody> |
125 | </table> | 125 | </table> |
126 | </div> | 126 | </div> |
127 | 127 | ||
128 | <div class="grid px-4 py-3 text-xs font-semibold tracking-wide text-gray-500 uppercase border-t dark:border-gray-700 bg-gray-50 sm:grid-cols-9 dark:text-gray-400 dark:bg-gray-800"> | 128 | <div class="grid px-4 py-3 text-xs font-semibold tracking-wide text-gray-500 uppercase border-t dark:border-gray-700 bg-gray-50 sm:grid-cols-9 dark:text-gray-400 dark:bg-gray-800"> |
129 | <?=$users->appends($_GET)->links('admin.pagginate'); ?> | 129 | <?=$users->appends($_GET)->links('admin.pagginate'); ?> |
130 | </div> | 130 | </div> |
131 | 131 | ||
132 | 132 | ||
133 | <!--<div | 133 | <!--<div |
134 | class="grid px-4 py-3 text-xs font-semibold tracking-wide text-gray-500 uppercase border-t dark:border-gray-700 bg-gray-50 sm:grid-cols-9 dark:text-gray-400 dark:bg-gray-800" | 134 | class="grid px-4 py-3 text-xs font-semibold tracking-wide text-gray-500 uppercase border-t dark:border-gray-700 bg-gray-50 sm:grid-cols-9 dark:text-gray-400 dark:bg-gray-800" |
135 | > | 135 | > |
136 | <span class="flex items-center col-span-3"> | 136 | <span class="flex items-center col-span-3"> |
137 | Showing 21-30 of 100 | 137 | Showing 21-30 of 100 |
138 | </span> | 138 | </span> |
139 | <span class="col-span-2"></span> | 139 | <span class="col-span-2"></span> |
140 | 140 | ||
141 | <span class="flex col-span-4 mt-2 sm:mt-auto sm:justify-end"> | 141 | <span class="flex col-span-4 mt-2 sm:mt-auto sm:justify-end"> |
142 | <nav aria-label="Table navigation"> | 142 | <nav aria-label="Table navigation"> |
143 | <ul class="inline-flex items-center"> | 143 | <ul class="inline-flex items-center"> |
144 | <li> | 144 | <li> |
145 | <button | 145 | <button |
146 | class="px-3 py-1 rounded-md rounded-l-lg focus:outline-none focus:shadow-outline-purple" | 146 | class="px-3 py-1 rounded-md rounded-l-lg focus:outline-none focus:shadow-outline-purple" |
147 | aria-label="Previous" | 147 | aria-label="Previous" |
148 | > | 148 | > |
149 | <svg | 149 | <svg |
150 | aria-hidden="true" | 150 | aria-hidden="true" |
151 | class="w-4 h-4 fill-current" | 151 | class="w-4 h-4 fill-current" |
152 | viewBox="0 0 20 20" | 152 | viewBox="0 0 20 20" |
153 | > | 153 | > |
154 | <path | 154 | <path |
155 | d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" | 155 | d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" |
156 | clip-rule="evenodd" | 156 | clip-rule="evenodd" |
157 | fill-rule="evenodd" | 157 | fill-rule="evenodd" |
158 | ></path> | 158 | ></path> |
159 | </svg> | 159 | </svg> |
160 | </button> | 160 | </button> |
161 | </li> | 161 | </li> |
162 | <li> | 162 | <li> |
163 | <button | 163 | <button |
164 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 164 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
165 | > | 165 | > |
166 | 1 | 166 | 1 |
167 | </button> | 167 | </button> |
168 | </li> | 168 | </li> |
169 | <li> | 169 | <li> |
170 | <button | 170 | <button |
171 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 171 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
172 | > | 172 | > |
173 | 2 | 173 | 2 |
174 | </button> | 174 | </button> |
175 | </li> | 175 | </li> |
176 | <li> | 176 | <li> |
177 | <button | 177 | <button |
178 | class="px-3 py-1 text-white transition-colors duration-150 bg-purple-600 border border-r-0 border-purple-600 rounded-md focus:outline-none focus:shadow-outline-purple" | 178 | class="px-3 py-1 text-white transition-colors duration-150 bg-purple-600 border border-r-0 border-purple-600 rounded-md focus:outline-none focus:shadow-outline-purple" |
179 | > | 179 | > |
180 | 3 | 180 | 3 |
181 | </button> | 181 | </button> |
182 | </li> | 182 | </li> |
183 | <li> | 183 | <li> |
184 | <button | 184 | <button |
185 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 185 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
186 | > | 186 | > |
187 | 4 | 187 | 4 |
188 | </button> | 188 | </button> |
189 | </li> | 189 | </li> |
190 | <li> | 190 | <li> |
191 | <span class="px-3 py-1">...</span> | 191 | <span class="px-3 py-1">...</span> |
192 | </li> | 192 | </li> |
193 | <li> | 193 | <li> |
194 | <button | 194 | <button |
195 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 195 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
196 | > | 196 | > |
197 | 8 | 197 | 8 |
198 | </button> | 198 | </button> |
199 | </li> | 199 | </li> |
200 | <li> | 200 | <li> |
201 | <button | 201 | <button |
202 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 202 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
203 | > | 203 | > |
204 | 9 | 204 | 9 |
205 | </button> | 205 | </button> |
206 | </li> | 206 | </li> |
207 | <li> | 207 | <li> |
208 | <button | 208 | <button |
209 | class="px-3 py-1 rounded-md rounded-r-lg focus:outline-none focus:shadow-outline-purple" | 209 | class="px-3 py-1 rounded-md rounded-r-lg focus:outline-none focus:shadow-outline-purple" |
210 | aria-label="Next" | 210 | aria-label="Next" |
211 | > | 211 | > |
212 | <svg | 212 | <svg |
213 | class="w-4 h-4 fill-current" | 213 | class="w-4 h-4 fill-current" |
214 | aria-hidden="true" | 214 | aria-hidden="true" |
215 | viewBox="0 0 20 20" | 215 | viewBox="0 0 20 20" |
216 | > | 216 | > |
217 | <path | 217 | <path |
218 | d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" | 218 | d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" |
219 | clip-rule="evenodd" | 219 | clip-rule="evenodd" |
220 | fill-rule="evenodd" | 220 | fill-rule="evenodd" |
221 | ></path> | 221 | ></path> |
222 | </svg> | 222 | </svg> |
223 | </button> | 223 | </button> |
224 | </li> | 224 | </li> |
225 | </ul> | 225 | </ul> |
226 | </nav> | 226 | </nav> |
227 | </span> | 227 | </span> |
228 | </div>--> | 228 | </div>--> |
229 | </div> | 229 | </div> |
230 | 230 | ||
231 | <?//=$users->appends($_GET)->links('catalogs.paginate'); ?> | 231 | <?//=$users->appends($_GET)->links('catalogs.paginate'); ?> |
232 | 232 | ||
233 | 233 | ||
234 | @endsection | 234 | @endsection |
235 | 235 |
sql/v3.sql
File was created | 1 | -- -------------------------------------------------------- | |
2 | -- Хост: 127.0.0.1 | ||
3 | -- Версия сервера: 8.0.30 - MySQL Community Server - GPL | ||
4 | -- Операционная система: Win64 | ||
5 | -- HeidiSQL Версия: 12.1.0.6537 | ||
6 | -- -------------------------------------------------------- | ||
7 | |||
8 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | ||
9 | /*!40101 SET NAMES utf8 */; | ||
10 | /*!50503 SET NAMES utf8mb4 */; | ||
11 | /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; | ||
12 | /*!40103 SET TIME_ZONE='+00:00' */; | ||
13 | /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; | ||
14 | /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; | ||
15 | /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; | ||
16 | |||
17 | -- Дамп структуры для таблица laravel_rekamore.ad_employers | ||
18 | CREATE TABLE IF NOT EXISTS `ad_employers` ( | ||
19 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
20 | `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
21 | `employer_id` bigint NOT NULL, | ||
22 | `category_id` int NOT NULL DEFAULT '1', | ||
23 | `telephone` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
24 | `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
25 | `salary` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
26 | `text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, | ||
27 | `city` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
28 | `sort` int NOT NULL DEFAULT '1', | ||
29 | `created_at` timestamp NULL DEFAULT NULL, | ||
30 | `updated_at` timestamp NULL DEFAULT NULL, | ||
31 | `is_remove` tinyint(1) NOT NULL DEFAULT '0', | ||
32 | `active_is` tinyint(1) NOT NULL DEFAULT '1', | ||
33 | `sroch_vacancy` tinyint(1) NOT NULL DEFAULT '0', | ||
34 | `favorite_vacancy` tinyint(1) NOT NULL DEFAULT '0', | ||
35 | `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Не задан', | ||
36 | PRIMARY KEY (`id`) | ||
37 | ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
38 | |||
39 | -- Дамп данных таблицы laravel_rekamore.ad_employers: ~7 rows (приблизительно) | ||
40 | DELETE FROM `ad_employers`; | ||
41 | INSERT INTO `ad_employers` (`id`, `name`, `employer_id`, `category_id`, `telephone`, `email`, `salary`, `text`, `city`, `sort`, `created_at`, `updated_at`, `is_remove`, `active_is`, `sroch_vacancy`, `favorite_vacancy`, `status`) VALUES | ||
42 | (1, 'Морская служба в Каспии', 3, 1, '11-11-11', 'test@mail.ru', '250000', 'Хорошая работа', 'Астрахань', 1, '2023-09-06 13:56:42', '2023-09-06 13:56:44', 0, 1, 0, 0, 'Не задан'), | ||
43 | (5, 'Владивосток-работа', 1, 1, '55555', 'r@r.ru', '120000', 'Работа', 'Владивосток', 1, '2023-10-03 15:40:36', '2023-10-03 15:40:37', 0, 1, 0, 0, 'Не задан'), | ||
44 | (6, 'Работа в майами', 5, 1, '454545', 'rus@rus.ru', '550000', 'Работа', 'Майами', 1, '2023-10-03 13:10:38', '2023-10-03 13:10:39', 0, 1, 0, 0, 'Не задан'), | ||
45 | (7, 'Работа в майами (помощь)', 5, 1, '454545', 'mayamy@gmail.com', '250000', 'Работа на торговом судне', 'Mayami', 1, '2023-10-03 13:12:18', '2023-10-03 13:12:19', 0, 1, 0, 1, 'Закрыта'), | ||
46 | (8, 'Работа в сочи1', 6, 1, '333333', 'sochi@mail.ru', '150000', 'Работа на курорте', 'Сочи', 1, '2023-10-03 13:13:27', '2023-10-05 07:35:54', 0, 1, 1, 1, 'Открыта'), | ||
47 | (9, 'Работа в сочи (подработка)', 6, 1, '555555', 'sochi2@mail.ru', '100000', 'Подработка в Сочи', 'Сочи', 1, '2023-10-03 13:14:21', '2023-10-03 13:14:22', 0, 1, 0, 0, 'Не задан'), | ||
48 | (10, 'Мурманск-служба', 7, 1, '111111', 'mr@mail.ru', '170000', 'Служба в Северном Флоте', 'Мурманск, Архангельск', 1, '2023-10-03 13:15:40', '2023-10-03 13:15:41', 0, 1, 1, 1, 'Не задан'); | ||
49 | |||
50 | -- Дамп структуры для таблица laravel_rekamore.ad_jobs | ||
51 | CREATE TABLE IF NOT EXISTS `ad_jobs` ( | ||
52 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
53 | `created_at` timestamp NULL DEFAULT NULL, | ||
54 | `updated_at` timestamp NULL DEFAULT NULL, | ||
55 | `ad_employer_id` bigint unsigned DEFAULT NULL, | ||
56 | `job_title_id` bigint unsigned DEFAULT NULL, | ||
57 | PRIMARY KEY (`id`), | ||
58 | KEY `key_ad_employer_id` (`ad_employer_id`), | ||
59 | KEY `key_job_title_id` (`job_title_id`), | ||
60 | CONSTRAINT `key_ad_employer_id` FOREIGN KEY (`ad_employer_id`) REFERENCES `ad_employers` (`id`) ON DELETE CASCADE, | ||
61 | CONSTRAINT `key_job_title_id` FOREIGN KEY (`job_title_id`) REFERENCES `job_titles` (`id`) ON DELETE CASCADE | ||
62 | ) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
63 | |||
64 | -- Дамп данных таблицы laravel_rekamore.ad_jobs: ~13 rows (приблизительно) | ||
65 | DELETE FROM `ad_jobs`; | ||
66 | INSERT INTO `ad_jobs` (`id`, `created_at`, `updated_at`, `ad_employer_id`, `job_title_id`) VALUES | ||
67 | (1, '2023-09-06 15:16:08', '2023-09-06 15:16:10', 1, 1), | ||
68 | (2, '2023-09-06 15:16:42', '2023-09-06 15:16:41', 1, 2), | ||
69 | (3, '2023-09-06 15:47:08', '2023-09-06 15:47:09', 1, 3), | ||
70 | (7, '2023-10-03 12:52:34', '2023-10-03 12:52:35', 5, 2), | ||
71 | (8, '2023-10-03 13:16:07', '2023-10-03 13:16:08', 6, 7), | ||
72 | (9, '2023-10-03 13:16:27', '2023-10-03 13:16:27', 6, 2), | ||
73 | (10, '2023-10-03 13:16:40', '2023-10-03 13:16:41', 7, 1), | ||
74 | (11, '2023-10-03 13:16:55', '2023-10-03 13:16:56', 7, 3), | ||
75 | (14, '2023-10-03 13:17:56', '2023-10-03 13:17:56', 9, 2), | ||
76 | (15, '2023-10-03 13:18:38', '2023-10-03 13:18:38', 10, 1), | ||
77 | (18, '2023-10-05 14:41:23', NULL, 8, 7), | ||
78 | (19, NULL, NULL, 8, 4), | ||
79 | (20, NULL, NULL, 8, 5); | ||
80 | |||
81 | -- Дамп структуры для таблица laravel_rekamore.ad_responses | ||
82 | CREATE TABLE IF NOT EXISTS `ad_responses` ( | ||
83 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
84 | `message_id` bigint NOT NULL, | ||
85 | `ad_employer_id` bigint NOT NULL, | ||
86 | `job_title_id` bigint NOT NULL, | ||
87 | `flag` tinyint(1) NOT NULL DEFAULT '1', | ||
88 | `created_at` timestamp NULL DEFAULT NULL, | ||
89 | `updated_at` timestamp NULL DEFAULT NULL, | ||
90 | PRIMARY KEY (`id`) | ||
91 | ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
92 | |||
93 | -- Дамп данных таблицы laravel_rekamore.ad_responses: ~0 rows (приблизительно) | ||
94 | DELETE FROM `ad_responses`; | ||
95 | INSERT INTO `ad_responses` (`id`, `message_id`, `ad_employer_id`, `job_title_id`, `flag`, `created_at`, `updated_at`) VALUES | ||
96 | (1, 2, 1, 1, 1, '2023-09-06 16:40:59', '2023-09-06 16:41:01'); | ||
97 | |||
98 | -- Дамп структуры для таблица laravel_rekamore.answers | ||
99 | CREATE TABLE IF NOT EXISTS `answers` ( | ||
100 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
101 | `employer_id` bigint NOT NULL, | ||
102 | `plus` int NOT NULL DEFAULT '0', | ||
103 | `minus` int NOT NULL DEFAULT '0', | ||
104 | `rate` int DEFAULT NULL, | ||
105 | `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
106 | `text` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
107 | `is_moderate` tinyint(1) NOT NULL DEFAULT '0', | ||
108 | `user_id` bigint NOT NULL, | ||
109 | `created_at` timestamp NULL DEFAULT NULL, | ||
110 | `updated_at` timestamp NULL DEFAULT NULL, | ||
111 | PRIMARY KEY (`id`) | ||
112 | ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
113 | |||
114 | -- Дамп данных таблицы laravel_rekamore.answers: ~2 rows (приблизительно) | ||
115 | DELETE FROM `answers`; | ||
116 | INSERT INTO `answers` (`id`, `employer_id`, `plus`, `minus`, `rate`, `title`, `text`, `is_moderate`, `user_id`, `created_at`, `updated_at`) VALUES | ||
117 | (1, 3, 0, 0, NULL, 'Это нечто!', 'Самый замечательный работодатель', 1, 2, '2023-09-07 16:12:40', '2023-09-07 09:59:35'), | ||
118 | (2, 3, 0, 0, NULL, 'Не согласен ', 'Много проблем у данного работодателя, задержки с зп. Читал в интернете много про эту компанию. Скажу, что люди говорят не просто так, а потому что какие-то долговые обязательства огромные у данной компании. Не платит зарплату работникам.', 0, 1, '2023-09-07 16:13:32', '2023-09-07 09:59:36'); | ||
119 | |||
120 | -- Дамп структуры для таблица laravel_rekamore.categories | ||
121 | CREATE TABLE IF NOT EXISTS `categories` ( | ||
122 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
123 | `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, | ||
124 | `created_at` timestamp NULL DEFAULT NULL, | ||
125 | `updated_at` timestamp NULL DEFAULT NULL, | ||
126 | `is_remove` tinyint(1) NOT NULL DEFAULT '0', | ||
127 | PRIMARY KEY (`id`) | ||
128 | ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
129 | |||
130 | -- Дамп данных таблицы laravel_rekamore.categories: ~4 rows (приблизительно) | ||
131 | DELETE FROM `categories`; | ||
132 | INSERT INTO `categories` (`id`, `name`, `created_at`, `updated_at`, `is_remove`) VALUES | ||
133 | (1, 'Река', '2023-05-26 07:48:31', '2023-05-26 07:48:31', 0), | ||
134 | (2, 'Море', '2023-05-26 07:48:48', '2023-05-26 07:48:48', 0), | ||
135 | (3, 'Река-море', '2023-05-26 07:49:08', '2023-05-26 07:49:08', 0), | ||
136 | (4, 'Не указано', '2023-05-26 07:49:28', '2023-05-26 07:49:28', 0), | ||
137 | (6, '123', '2023-09-07 10:21:59', '2023-09-07 10:23:03', 1); | ||
138 | |||
139 | -- Дамп структуры для таблица laravel_rekamore.category_emps | ||
140 | CREATE TABLE IF NOT EXISTS `category_emps` ( | ||
141 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
142 | `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, | ||
143 | `is_remove` tinyint(1) NOT NULL DEFAULT '0', | ||
144 | `created_at` timestamp NULL DEFAULT NULL, | ||
145 | `updated_at` timestamp NULL DEFAULT NULL, | ||
146 | PRIMARY KEY (`id`) | ||
147 | ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
148 | |||
149 | -- Дамп данных таблицы laravel_rekamore.category_emps: ~5 rows (приблизительно) | ||
150 | DELETE FROM `category_emps`; | ||
151 | INSERT INTO `category_emps` (`id`, `name`, `is_remove`, `created_at`, `updated_at`) VALUES | ||
152 | (1, 'Не определен', 0, '2023-10-02 11:03:38', '2023-10-02 11:03:38'), | ||
153 | (2, 'Оплатили', 0, '2023-10-02 11:04:03', '2023-10-02 11:04:03'), | ||
154 | (3, 'Согласование', 0, '2023-10-02 11:04:16', '2023-10-02 11:04:16'), | ||
155 | (4, 'Не оплачен', 0, '2023-10-02 11:04:32', '2023-10-02 11:04:32'), | ||
156 | (5, 'Тест2', 1, '2023-10-02 11:04:41', '2023-10-02 11:04:51'); | ||
157 | |||
158 | -- Дамп структуры для таблица laravel_rekamore.companies | ||
159 | CREATE TABLE IF NOT EXISTS `companies` ( | ||
160 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
161 | `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
162 | `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
163 | `fio_director` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
164 | `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
165 | `telephone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
166 | `site` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
167 | `telegram` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
168 | `vkontact` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
169 | `logo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
170 | `image` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
171 | `map` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
172 | `text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, | ||
173 | `created_at` timestamp NULL DEFAULT NULL, | ||
174 | `updated_at` timestamp NULL DEFAULT NULL, | ||
175 | `time_mess` int NOT NULL DEFAULT '5', | ||
176 | `time_resume` int NOT NULL DEFAULT '30', | ||
177 | PRIMARY KEY (`id`) | ||
178 | ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
179 | |||
180 | -- Дамп данных таблицы laravel_rekamore.companies: ~1 rows (приблизительно) | ||
181 | DELETE FROM `companies`; | ||
182 | INSERT INTO `companies` (`id`, `name`, `address`, `fio_director`, `email`, `telephone`, `site`, `telegram`, `vkontact`, `logo`, `image`, `map`, `text`, `created_at`, `updated_at`, `time_mess`, `time_resume`) VALUES | ||
183 | (1, 'ООО Рекаморе', 'Адрес', 'Директор компании1', 'admin@mail.ru', '54-44-21', NULL, 'https://t.me/rekamore_su', 'https://vk.com/rekamore_su', 'config/2oax4SNTDSxJfd69yM93KzuO1H5Els6YddufYGb9.jpg', 'config/y2uSVTkthMV8gPAq2RRQMXbDJsQqpiSutCkbLRKM.jpg', NULL, 'Веселая компашка', '2023-05-23 09:44:11', '2023-09-21 09:29:40', 5, 120); | ||
184 | |||
185 | -- Дамп структуры для таблица laravel_rekamore.contacts | ||
186 | CREATE TABLE IF NOT EXISTS `contacts` ( | ||
187 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
188 | `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
189 | `is_email` tinyint(1) NOT NULL DEFAULT '0', | ||
190 | `employer_id` bigint NOT NULL, | ||
191 | `created_at` timestamp NULL DEFAULT NULL, | ||
192 | `updated_at` timestamp NULL DEFAULT NULL, | ||
193 | PRIMARY KEY (`id`) | ||
194 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
195 | |||
196 | -- Дамп данных таблицы laravel_rekamore.contacts: ~0 rows (приблизительно) | ||
197 | DELETE FROM `contacts`; | ||
198 | |||
199 | -- Дамп структуры для таблица laravel_rekamore.dop_info | ||
200 | CREATE TABLE IF NOT EXISTS `dop_info` ( | ||
201 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
202 | `text` text COLLATE utf8mb4_unicode_ci, | ||
203 | `created_at` timestamp NULL DEFAULT NULL, | ||
204 | `updated_at` timestamp NULL DEFAULT NULL, | ||
205 | `infoblok_id` bigint unsigned DEFAULT NULL, | ||
206 | `worker_id` bigint unsigned DEFAULT NULL, | ||
207 | PRIMARY KEY (`id`), | ||
208 | KEY `key_infoblok_id` (`infoblok_id`), | ||
209 | KEY `key_worker_id` (`worker_id`), | ||
210 | CONSTRAINT `key_infoblok_id` FOREIGN KEY (`infoblok_id`) REFERENCES `infobloks` (`id`) ON DELETE CASCADE, | ||
211 | CONSTRAINT `key_worker_id` FOREIGN KEY (`worker_id`) REFERENCES `Workers` (`id`) ON DELETE CASCADE | ||
212 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
213 | |||
214 | -- Дамп данных таблицы laravel_rekamore.dop_info: ~0 rows (приблизительно) | ||
215 | DELETE FROM `dop_info`; | ||
216 | |||
217 | -- Дамп структуры для таблица laravel_rekamore.education | ||
218 | CREATE TABLE IF NOT EXISTS `education` ( | ||
219 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
220 | `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, | ||
221 | `is_remove` tinyint(1) NOT NULL DEFAULT '0', | ||
222 | `created_at` timestamp NULL DEFAULT NULL, | ||
223 | `updated_at` timestamp NULL DEFAULT NULL, | ||
224 | PRIMARY KEY (`id`) | ||
225 | ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
226 | |||
227 | -- Дамп данных таблицы laravel_rekamore.education: ~7 rows (приблизительно) | ||
228 | DELETE FROM `education`; | ||
229 | INSERT INTO `education` (`id`, `name`, `is_remove`, `created_at`, `updated_at`) VALUES | ||
230 | (1, 'Не указано', 0, '2023-10-03 09:23:50', '2023-10-03 09:23:50'), | ||
231 | (2, 'Неполное среднее', 0, '2023-10-03 09:24:06', '2023-10-03 09:24:06'), | ||
232 | (3, 'Среднее', 0, '2023-10-03 09:24:14', '2023-10-03 09:24:14'), | ||
233 | (4, 'Средне-специальное', 0, '2023-10-03 09:24:23', '2023-10-03 09:24:23'), | ||
234 | (5, 'Высшее', 0, '2023-10-03 09:24:31', '2023-10-03 09:24:31'), | ||
235 | (6, 'Академическое', 0, '2023-10-03 09:24:43', '2023-10-03 09:24:43'), | ||
236 | (7, 'Тест2', 1, '2023-10-03 09:24:55', '2023-10-03 09:25:07'); | ||
237 | |||
238 | -- Дамп структуры для таблица laravel_rekamore.employers | ||
239 | CREATE TABLE IF NOT EXISTS `employers` ( | ||
240 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
241 | `user_id` bigint NOT NULL, | ||
242 | `name_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, | ||
243 | `telephone` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
244 | `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
245 | `logo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
246 | `rate` double(8,2) NOT NULL DEFAULT '0.00', | ||
247 | `text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, | ||
248 | `city` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
249 | `sort` int NOT NULL DEFAULT '1', | ||
250 | `created_at` timestamp NULL DEFAULT NULL, | ||
251 | `updated_at` timestamp NULL DEFAULT NULL, | ||
252 | `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
253 | `map` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
254 | `site` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
255 | `coord` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
256 | `is_remove` tinyint(1) NOT NULL DEFAULT '0', | ||
257 | `status_hidden` tinyint(1) NOT NULL DEFAULT '0', | ||
258 | `oficial_status` tinyint(1) NOT NULL DEFAULT '0', | ||
259 | `social_is` tinyint(1) NOT NULL DEFAULT '0', | ||
260 | `sending_is` tinyint(1) NOT NULL DEFAULT '0', | ||
261 | `comment_admin` text COLLATE utf8mb4_unicode_ci, | ||
262 | `category` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Не определен', | ||
263 | PRIMARY KEY (`id`) | ||
264 | ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
265 | |||
266 | -- Дамп данных таблицы laravel_rekamore.employers: ~5 rows (приблизительно) | ||
267 | DELETE FROM `employers`; | ||
268 | INSERT INTO `employers` (`id`, `user_id`, `name_company`, `telephone`, `email`, `logo`, `rate`, `text`, `city`, `sort`, `created_at`, `updated_at`, `address`, `map`, `site`, `coord`, `is_remove`, `status_hidden`, `oficial_status`, `social_is`, `sending_is`, `comment_admin`, `category`) VALUES | ||
269 | (1, 1, 'REKAMORE.SU', '+79131340942', 'integralal@mail.ru', NULL, 0.00, NULL, NULL, 1, '2023-05-24 17:12:24', '2023-09-20 11:07:02', NULL, NULL, NULL, NULL, 0, 0, 1, 1, 1, 'Администрация сайта', 'Не определен'), | ||
270 | (3, 3, 'БалтФлот ООО', '51-77-89', NULL, 'employer/3/C5KHTn9yNRsvcNTrBT0KUy9TKblAoiMAwuN7SF1y.jpg', 0.00, 'описание балтфлота.', NULL, 1, '2023-09-06 13:43:53', '2023-10-03 10:37:40', 'г.Кронштат', NULL, 'https://balt-flot.ru', NULL, 0, 0, 1, 1, 1, '123', 'Оплатили'), | ||
271 | (5, 12, 'Майами торговый флот', '+1(923)545-34-32', 'usa-mayami@gmail.com', NULL, 0.00, 'описание', 'Майами, США', 1, '2023-10-03 13:00:10', '2023-10-03 13:00:11', 'г.Майами', NULL, NULL, NULL, 0, 0, 0, 0, 0, NULL, 'Не определен'), | ||
272 | (6, 13, 'Сочи-инвест', '+7(913)-255-23-15', 'sochi@mail.ru', NULL, 0.00, 'описание', 'Сочи', 1, '2023-10-03 13:04:00', '2023-10-03 13:04:02', 'Россия, Сочи', NULL, NULL, NULL, 0, 0, 1, 1, 1, NULL, 'Не определен'), | ||
273 | (7, 16, '"Мурманск" ОАО', '45-45-45', NULL, NULL, 0.00, 'тест', 'Мурманск', 1, '2023-10-03 13:03:14', '2023-10-03 10:45:15', 'Россия, г.Мурманск', NULL, 'https://link.ru', NULL, 0, 0, 0, 0, 1, NULL, 'Согласование'); | ||
274 | |||
275 | -- Дамп структуры для таблица laravel_rekamore.employers_mains | ||
276 | CREATE TABLE IF NOT EXISTS `employers_mains` ( | ||
277 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
278 | `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
279 | `employer_id` bigint NOT NULL, | ||
280 | `sort` int NOT NULL DEFAULT '100', | ||
281 | `created_at` timestamp NULL DEFAULT NULL, | ||
282 | `updated_at` timestamp NULL DEFAULT NULL, | ||
283 | PRIMARY KEY (`id`) | ||
284 | ) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
285 | |||
286 | -- Дамп данных таблицы laravel_rekamore.employers_mains: ~8 rows (приблизительно) | ||
287 | DELETE FROM `employers_mains`; | ||
288 | INSERT INTO `employers_mains` (`id`, `name`, `employer_id`, `sort`, `created_at`, `updated_at`) VALUES | ||
289 | (1, 'Пункт 1', 1, 120, '2023-09-11 05:14:41', '2023-09-19 09:46:53'), | ||
290 | (2, 'Пункт 2', 3, 100, '2023-09-11 05:14:41', '2023-09-19 09:46:40'), | ||
291 | (3, 'Пункт 3', 2, 110, '2023-09-11 05:14:41', '2023-09-19 09:46:47'), | ||
292 | (4, 'Пункт 4', 0, 130, '2023-09-11 05:14:41', '2023-09-11 05:14:41'), | ||
293 | (5, 'Пункт 5', 0, 140, '2023-09-11 05:14:41', '2023-09-11 05:14:41'), | ||
294 | (6, 'Пункт 6', 0, 150, '2023-09-11 05:14:41', '2023-09-11 05:14:41'), | ||
295 | (7, 'Пункт 7', 0, 160, '2023-09-11 05:14:41', '2023-09-11 05:14:41'), | ||
296 | (8, 'Пункт 8', 0, 190, '2023-09-11 05:14:41', '2023-09-11 07:41:55'); | ||
297 | |||
298 | -- Дамп структуры для таблица laravel_rekamore.failed_jobs | ||
299 | CREATE TABLE IF NOT EXISTS `failed_jobs` ( | ||
300 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
301 | `uuid` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, | ||
302 | `connection` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, | ||
303 | `queue` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, | ||
304 | `payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, | ||
305 | `exception` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, | ||
306 | `failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||
307 | PRIMARY KEY (`id`), | ||
308 | UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`) | ||
309 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
310 | |||
311 | -- Дамп данных таблицы laravel_rekamore.failed_jobs: ~0 rows (приблизительно) | ||
312 | DELETE FROM `failed_jobs`; | ||
313 | |||
314 | -- Дамп структуры для таблица laravel_rekamore.flots | ||
315 | CREATE TABLE IF NOT EXISTS `flots` ( | ||
316 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
317 | `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
318 | `text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, | ||
319 | `image` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
320 | `employer_id` bigint NOT NULL, | ||
321 | `created_at` timestamp NULL DEFAULT NULL, | ||
322 | `updated_at` timestamp NULL DEFAULT NULL, | ||
323 | PRIMARY KEY (`id`) | ||
324 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
325 | |||
326 | -- Дамп данных таблицы laravel_rekamore.flots: ~0 rows (приблизительно) | ||
327 | DELETE FROM `flots`; | ||
328 | |||
329 | -- Дамп структуры для таблица laravel_rekamore.group_users | ||
330 | CREATE TABLE IF NOT EXISTS `group_users` ( | ||
331 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
332 | `name_group` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, | ||
333 | `created_at` timestamp NULL DEFAULT NULL, | ||
334 | `updated_at` timestamp NULL DEFAULT NULL, | ||
335 | `user_id` bigint NOT NULL, | ||
336 | `is_remove` tinyint(1) NOT NULL DEFAULT '0', | ||
337 | PRIMARY KEY (`id`) | ||
338 | ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
339 | |||
340 | -- Дамп данных таблицы laravel_rekamore.group_users: ~5 rows (приблизительно) | ||
341 | DELETE FROM `group_users`; | ||
342 | INSERT INTO `group_users` (`id`, `name_group`, `created_at`, `updated_at`, `user_id`, `is_remove`) VALUES | ||
343 | (1, 'Администраторы', '2023-09-06 11:23:13', '2023-09-06 11:23:13', 1, 0), | ||
344 | (2, 'Белые воротнички', '2023-09-06 11:27:06', '2023-09-07 11:00:01', 1, 0), | ||
345 | (3, 'Руководящие', '2023-09-06 11:27:30', '2023-09-07 03:54:45', 1, 0), | ||
346 | (4, 'Группа1', '2023-09-08 10:53:05', '2023-09-08 10:53:05', 1, 0), | ||
347 | (5, 'Группа2', '2023-09-08 11:01:01', '2023-09-08 11:01:01', 1, 0); | ||
348 | |||
349 | -- Дамп структуры для таблица laravel_rekamore.group_works | ||
350 | CREATE TABLE IF NOT EXISTS `group_works` ( | ||
351 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
352 | `group_user_id` bigint NOT NULL, | ||
353 | `user_id` bigint NOT NULL, | ||
354 | `created_at` timestamp NULL DEFAULT NULL, | ||
355 | `updated_at` timestamp NULL DEFAULT NULL, | ||
356 | `is_remove` tinyint(1) NOT NULL DEFAULT '0', | ||
357 | PRIMARY KEY (`id`) | ||
358 | ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
359 | |||
360 | -- Дамп данных таблицы laravel_rekamore.group_works: ~7 rows (приблизительно) | ||
361 | DELETE FROM `group_works`; | ||
362 | INSERT INTO `group_works` (`id`, `group_user_id`, `user_id`, `created_at`, `updated_at`, `is_remove`) VALUES | ||
363 | (1, 3, 1, NULL, NULL, 0), | ||
364 | (2, 3, 2, NULL, NULL, 0), | ||
365 | (3, 3, 3, NULL, NULL, 0), | ||
366 | (4, 2, 1, NULL, NULL, 0), | ||
367 | (5, 2, 2, NULL, NULL, 0), | ||
368 | (6, 2, 4, NULL, NULL, 0), | ||
369 | (7, 4, 4, NULL, NULL, 0), | ||
370 | (8, 5, 2, '2023-09-08 11:01:01', '2023-09-08 11:01:01', 0); | ||
371 | |||
372 | -- Дамп структуры для таблица laravel_rekamore.header_footers | ||
373 | CREATE TABLE IF NOT EXISTS `header_footers` ( | ||
374 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
375 | `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
376 | `link` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
377 | `code_id` bigint NOT NULL, | ||
378 | `category` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
379 | `header` tinyint(1) NOT NULL DEFAULT '1', | ||
380 | `sort` int NOT NULL DEFAULT '100', | ||
381 | `created_at` timestamp NULL DEFAULT NULL, | ||
382 | `updated_at` timestamp NULL DEFAULT NULL, | ||
383 | PRIMARY KEY (`id`) | ||
384 | ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
385 | |||
386 | -- Дамп данных таблицы laravel_rekamore.header_footers: ~6 rows (приблизительно) | ||
387 | DELETE FROM `header_footers`; | ||
388 | INSERT INTO `header_footers` (`id`, `name`, `link`, `code_id`, `category`, `header`, `sort`, `created_at`, `updated_at`) VALUES | ||
389 | (1, 'Пункт1', 'http://link', 0, NULL, 1, 100, '2023-09-14 09:04:41', '2023-09-14 09:31:47'), | ||
390 | (2, 'ШапкаПункт2', 'http://link2', 1, NULL, 1, 100, '2023-09-14 09:06:28', '2023-09-14 09:31:52'), | ||
391 | (3, 'ФутерПункт1', 'http://link3', 0, NULL, 0, 130, '2023-09-14 09:29:52', '2023-09-14 09:34:16'), | ||
392 | (4, 'ШапкаПункт3', 'http://link4', 0, NULL, 1, 100, '2023-09-14 09:30:57', '2023-09-14 09:30:57'), | ||
393 | (5, 'ШапкаПункт4', 'http://link5', 0, NULL, 1, 100, '2023-09-14 09:31:39', '2023-09-14 09:31:39'), | ||
394 | (7, 'Пункт-о-компании', '/company/', 0, NULL, 0, 100, '2023-09-21 09:48:06', '2023-09-21 09:48:06'); | ||
395 | |||
396 | -- Дамп структуры для таблица laravel_rekamore.infobloks | ||
397 | CREATE TABLE IF NOT EXISTS `infobloks` ( | ||
398 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
399 | `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
400 | `is_remove` tinyint(1) NOT NULL DEFAULT '0', | ||
401 | `created_at` timestamp NULL DEFAULT NULL, | ||
402 | `updated_at` timestamp NULL DEFAULT NULL, | ||
403 | `sort` int NOT NULL DEFAULT '100', | ||
404 | PRIMARY KEY (`id`) | ||
405 | ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
406 | |||
407 | -- Дамп данных таблицы laravel_rekamore.infobloks: ~8 rows (приблизительно) | ||
408 | DELETE FROM `infobloks`; | ||
409 | INSERT INTO `infobloks` (`id`, `name`, `is_remove`, `created_at`, `updated_at`, `sort`) VALUES | ||
410 | (1, 'Заграничный паспорт', 0, '2023-09-08 08:46:56', '2023-09-08 08:46:56', 100), | ||
411 | (2, 'МК', 0, '2023-09-08 08:47:21', '2023-09-08 08:47:21', 100), | ||
412 | (3, 'ВВП', 0, '2023-09-08 08:47:31', '2023-09-08 08:47:31', 100), | ||
413 | (4, 'УЛМ', 0, '2023-09-08 08:47:48', '2023-09-08 08:47:48', 100), | ||
414 | (5, 'Речной диплом', 0, '2023-09-08 08:47:59', '2023-09-08 08:47:59', 100), | ||
415 | (6, 'Морской диплом', 0, '2023-09-08 08:48:11', '2023-09-08 08:48:11', 100), | ||
416 | (7, 'МПСС72', 0, '2023-09-08 08:48:25', '2023-09-08 08:48:25', 100), | ||
417 | (8, 'ГМССБ', 0, '2023-09-08 08:48:42', '2023-09-08 08:48:42', 100), | ||
418 | (9, 'Образование танкерное', 0, '2023-09-08 08:49:15', '2023-09-08 08:49:15', 100), | ||
419 | (10, 'тест2', 1, '2023-09-08 08:49:25', '2023-09-08 08:50:09', 100); | ||
420 | |||
421 | -- Дамп структуры для таблица laravel_rekamore.job_titles | ||
422 | CREATE TABLE IF NOT EXISTS `job_titles` ( | ||
423 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
424 | `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
425 | `created_at` timestamp NULL DEFAULT NULL, | ||
426 | `updated_at` timestamp NULL DEFAULT NULL, | ||
427 | `is_remove` tinyint(1) NOT NULL DEFAULT '0', | ||
428 | `parent_id` int NOT NULL DEFAULT '0', | ||
429 | `sort` int NOT NULL DEFAULT '100', | ||
430 | PRIMARY KEY (`id`) | ||
431 | ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
432 | |||
433 | -- Дамп данных таблицы laravel_rekamore.job_titles: ~6 rows (приблизительно) | ||
434 | DELETE FROM `job_titles`; | ||
435 | INSERT INTO `job_titles` (`id`, `name`, `created_at`, `updated_at`, `is_remove`, `parent_id`, `sort`) VALUES | ||
436 | (1, 'Матрос', '2023-09-06 14:19:53', '2023-09-06 14:19:54', 0, 0, 100), | ||
437 | (2, 'Мичман', '2023-09-06 14:20:06', '2023-09-06 14:20:07', 0, 0, 100), | ||
438 | (3, 'Механик', '2023-09-06 15:46:35', '2023-09-06 15:46:36', 0, 0, 100), | ||
439 | (4, 'Механик 2го разряда', '2023-09-08 06:07:38', '2023-09-08 06:07:38', 0, 3, 100), | ||
440 | (5, 'Механик 3го разряда', '2023-09-08 06:09:24', '2023-09-08 06:14:55', 0, 3, 100), | ||
441 | (6, 'Механик 4го разряда', '2023-09-08 06:15:31', '2023-09-08 06:15:39', 0, 3, 100), | ||
442 | (7, 'Капитан', '2023-10-04 09:03:35', '2023-10-04 09:03:35', 0, 0, 100); | ||
443 | |||
444 | -- Дамп структуры для таблица laravel_rekamore.job_titles_mains | ||
445 | CREATE TABLE IF NOT EXISTS `job_titles_mains` ( | ||
446 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
447 | `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
448 | `job_title_id` bigint NOT NULL, | ||
449 | `sort` int NOT NULL DEFAULT '100', | ||
450 | `created_at` timestamp NULL DEFAULT NULL, | ||
451 | `updated_at` timestamp NULL DEFAULT NULL, | ||
452 | PRIMARY KEY (`id`) | ||
453 | ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
454 | |||
455 | -- Дамп данных таблицы laravel_rekamore.job_titles_mains: ~8 rows (приблизительно) | ||
456 | DELETE FROM `job_titles_mains`; | ||
457 | INSERT INTO `job_titles_mains` (`id`, `name`, `job_title_id`, `sort`, `created_at`, `updated_at`) VALUES | ||
458 | (1, 'Пункт 1', 2, 100, '2023-09-11 09:03:21', '2023-09-11 09:16:59'), | ||
459 | (2, 'Пункт 2', 0, 110, '2023-09-11 09:03:21', '2023-09-11 09:03:21'), | ||
460 | (3, 'Пункт 3', 3, 100, '2023-09-11 09:03:21', '2023-09-11 09:17:50'), | ||
461 | (4, 'Пункт 4', 0, 130, '2023-09-11 09:03:21', '2023-09-11 09:03:21'), | ||
462 | (5, 'Пункт 5', 0, 140, '2023-09-11 09:03:21', '2023-09-11 09:03:21'), | ||
463 | (6, 'Пункт 6', 0, 150, '2023-09-11 09:03:21', '2023-09-11 09:03:21'), | ||
464 | (7, 'Пункт 7', 0, 160, '2023-09-11 09:03:21', '2023-09-11 09:03:21'), | ||
465 | (8, 'Пункт 8', 1, 100, '2023-09-11 09:03:21', '2023-09-11 09:17:54'); | ||
466 | |||
467 | -- Дамп структуры для таблица laravel_rekamore.messages | ||
468 | CREATE TABLE IF NOT EXISTS `messages` ( | ||
469 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
470 | `user_id` bigint NOT NULL, | ||
471 | `to_user_id` bigint NOT NULL, | ||
472 | `text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, | ||
473 | `created_at` timestamp NULL DEFAULT NULL, | ||
474 | `updated_at` timestamp NULL DEFAULT NULL, | ||
475 | `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
476 | `file` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
477 | `flag_new` tinyint(1) NOT NULL DEFAULT '1', | ||
478 | PRIMARY KEY (`id`) | ||
479 | ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
480 | |||
481 | -- Дамп данных таблицы laravel_rekamore.messages: ~6 rows (приблизительно) | ||
482 | DELETE FROM `messages`; | ||
483 | INSERT INTO `messages` (`id`, `user_id`, `to_user_id`, `text`, `created_at`, `updated_at`, `title`, `file`, `flag_new`) VALUES | ||
484 | (1, 1, 4, 'Добро пожаловать в систему!', '2023-09-06 16:37:07', '2023-09-06 16:37:12', 'Проверка связи', NULL, 1), | ||
485 | (2, 2, 3, 'еще текст', '2023-09-06 16:38:23', '2023-09-06 16:38:25', 'Заинтересовала ваша вакансия', NULL, 1), | ||
486 | (3, 4, 1, 'Здравствуйте, я понял, хорошо. Спасибо за приветствие!', '2023-09-15 16:08:00', '2023-10-03 07:09:24', NULL, NULL, 0), | ||
487 | (4, 1, 2, 'Сообщение для администратора-программиста. Будем продолжать работать или как?', '2023-09-15 16:10:35', NULL, 'от Админа', NULL, 1), | ||
488 | (5, 1, 2, 'еще тест', '2023-09-15 10:41:06', '2023-09-15 10:41:06', NULL, NULL, 1), | ||
489 | (6, 2, 1, 'Да, будем продолжать работать.', '2023-09-20 11:17:34', '2023-10-03 07:09:22', NULL, NULL, 0); | ||
490 | |||
491 | -- Дамп структуры для таблица laravel_rekamore.migrations | ||
492 | CREATE TABLE IF NOT EXISTS `migrations` ( | ||
493 | `id` int unsigned NOT NULL AUTO_INCREMENT, | ||
494 | `migration` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, | ||
495 | `batch` int NOT NULL, | ||
496 | PRIMARY KEY (`id`) | ||
497 | ) ENGINE=InnoDB AUTO_INCREMENT=66 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
498 | |||
499 | -- Дамп данных таблицы laravel_rekamore.migrations: ~61 rows (приблизительно) | ||
500 | DELETE FROM `migrations`; | ||
501 | INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES | ||
502 | (1, '2014_10_12_000000_create_users_table', 1), | ||
503 | (2, '2014_10_12_100000_create_password_resets_table', 1), | ||
504 | (3, '2019_08_19_000000_create_failed_jobs_table', 1), | ||
505 | (4, '2019_12_14_000001_create_personal_access_tokens_table', 1), | ||
506 | (5, '2023_05_15_102620_alter_users_table', 2), | ||
507 | (6, '2023_05_16_062924_alter_users_table2', 3), | ||
508 | (7, '2023_05_16_080855_create_workers_table', 3), | ||
509 | (8, '2023_05_16_080945_create_employers_table', 3), | ||
510 | (9, '2023_05_16_081048_create_ad_employers_table', 3), | ||
511 | (10, '2023_05_16_081113_create_categories_table', 3), | ||
512 | (11, '2023_05_16_081142_create_group_users_table', 3), | ||
513 | (12, '2023_05_16_081213_create_job_titles_table', 3), | ||
514 | (13, '2023_05_16_081237_create_messages_table', 3), | ||
515 | (14, '2023_05_16_081308_create_static_workers_table', 3), | ||
516 | (15, '2023_05_16_081330_create_static_ads_table', 3), | ||
517 | (16, '2023_05_16_092746_alter_ad_jobs_table', 4), | ||
518 | (17, '2023_05_16_092836_alter_group_work_table', 4), | ||
519 | (18, '2023_05_17_090650_alter_group_users_table', 5), | ||
520 | (19, '2023_05_17_090749_alter_messages_table', 5), | ||
521 | (20, '2023_05_17_090923_alter_employers_table', 5), | ||
522 | (21, '2023_05_17_090944_alter_workers_table', 5), | ||
523 | (22, '2023_05_17_095512_alter_users_table', 6), | ||
524 | (23, '2023_05_22_084553_create_contacts_table', 7), | ||
525 | (24, '2023_05_22_084651_create_flots_table', 7), | ||
526 | (25, '2023_05_22_084739_create_answers_table', 7), | ||
527 | (26, '2023_05_22_085010_create_companies_table', 7), | ||
528 | (27, '2023_09_01_115021_alter_users_table3', 8), | ||
529 | (28, '2023_09_01_115802_alter_employers_table2', 8), | ||
530 | (29, '2023_09_01_121152_alter_ad_employers_table', 8), | ||
531 | (30, '2023_09_01_121950_alter_workers_table', 8), | ||
532 | (31, '2023_09_01_122417_alter_categories_table', 8), | ||
533 | (32, '2023_09_01_123056_alter_job_titles_table', 8), | ||
534 | (33, '2023_09_01_123338_alter_group_works_table', 8), | ||
535 | (34, '2023_09_01_123950_create_sertifications_table', 8), | ||
536 | (35, '2023_09_01_131509_alter_static_workers_table', 8), | ||
537 | (36, '2023_09_01_131903_alter_static_ads_table', 8), | ||
538 | (37, '2023_09_01_132059_alter_companies_table', 8), | ||
539 | (38, '2023_09_01_132618_create_ad_responses_table', 8), | ||
540 | (39, '2023_09_01_134821_create_reclames_table', 8), | ||
541 | (40, '2023_09_01_135450_create_header_footers_table', 8), | ||
542 | (41, '2023_09_01_135606_create_infobloks_table', 8), | ||
543 | (42, '2023_09_01_135734_create_dop_info_table', 8), | ||
544 | (43, '2023_09_01_135910_create_job_titles_mains_table', 8), | ||
545 | (44, '2023_09_01_135944_create_employers_mains_table', 8), | ||
546 | (45, '2023_09_01_140100_create_place_works_table', 8), | ||
547 | (46, '2023_09_01_140122_create_pages_table', 8), | ||
548 | (47, '2023_09_04_123922_alter_job_titles2_table', 9), | ||
549 | (48, '2023_09_04_124712_create_s_e_o_s_table', 9), | ||
550 | (49, '2023_09_06_090200_alter_dop_info_table', 10), | ||
551 | (52, '2023_09_06_090312_alter_ad_jobs_table', 11), | ||
552 | (53, '2023_09_06_100450_alter_ad_employers_table', 11), | ||
553 | (54, '2023_09_07_134401_alter_group_users_table', 12), | ||
554 | (55, '2023_09_08_084707_alter_job_titles3_table', 13), | ||
555 | (56, '2023_09_08_092903_alter_infobloks_table', 14), | ||
556 | (57, '2023_09_15_070116_alter_static_workers_table', 15), | ||
557 | (58, '2023_09_15_070215_alter_static_ads_table', 15), | ||
558 | (59, '2023_09_15_071013_alter_messages_table', 15), | ||
559 | (60, '2023_09_21_112115_alter_workers_table', 16), | ||
560 | (61, '2023_10_02_130611_alter_table_employers', 17), | ||
561 | (62, '2023_10_02_130747_create_category_emps_table', 17), | ||
562 | (63, '2023_10_02_132059_alter_table_ad_employers', 18), | ||
563 | (64, '2023_10_03_114608_create_education_table', 19), | ||
564 | (65, '2023_10_03_114801_alter_table_workers', 19); | ||
565 | |||
566 | -- Дамп структуры для таблица laravel_rekamore.pages | ||
567 | CREATE TABLE IF NOT EXISTS `pages` ( | ||
568 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
569 | `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
570 | `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, | ||
571 | `text` text COLLATE utf8mb4_unicode_ci, | ||
572 | `anons` text COLLATE utf8mb4_unicode_ci, | ||
573 | `author` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
574 | `image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
575 | `created_at` timestamp NULL DEFAULT NULL, | ||
576 | `updated_at` timestamp NULL DEFAULT NULL, | ||
577 | PRIMARY KEY (`id`) | ||
578 | ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
579 | |||
580 | -- Дамп данных таблицы laravel_rekamore.pages: ~2 rows (приблизительно) | ||
581 | DELETE FROM `pages`; | ||
582 | INSERT INTO `pages` (`id`, `name`, `slug`, `text`, `anons`, `author`, `image`, `created_at`, `updated_at`) VALUES | ||
583 | (1, 'Об авторе', 'Ob-avtore', '<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>\r\n\r\n<p><img alt="" src="http://localhost/rekamore.ru/public/storage/pages/GeLNvPdvOjOfpBajxBqmb2tiWbSG6I3VcC9uIQvm.jpg" style="height:387px; width:540px" /></p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.<img alt="" src="http://localhost/rekamore.ru/public/images/jquery-ui-in-action_1694607980.jpg" style="height:187px; width:150px" /></p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>', '<pre>\r\nРыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</pre>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>\r\n\r\n<p>Рыба-текст, рыба текст, рыба текст, рыба текст, рыба текст, рыба текст.</p>', 'Администоратор', 'pages/Ex4GQJtd8JVUHcmeR4uEcOY57Fc8FMuhW6VUA8FR.jpg', '2023-09-12 04:21:57', '2023-09-13 09:39:04'); | ||
584 | |||
585 | -- Дамп структуры для таблица laravel_rekamore.password_resets | ||
586 | CREATE TABLE IF NOT EXISTS `password_resets` ( | ||
587 | `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, | ||
588 | `token` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, | ||
589 | `created_at` timestamp NULL DEFAULT NULL, | ||
590 | PRIMARY KEY (`email`) | ||
591 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
592 | |||
593 | -- Дамп данных таблицы laravel_rekamore.password_resets: ~0 rows (приблизительно) | ||
594 | DELETE FROM `password_resets`; | ||
595 | |||
596 | -- Дамп структуры для таблица laravel_rekamore.personal_access_tokens | ||
597 | CREATE TABLE IF NOT EXISTS `personal_access_tokens` ( | ||
598 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
599 | `tokenable_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, | ||
600 | `tokenable_id` bigint unsigned NOT NULL, | ||
601 | `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, | ||
602 | `token` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, | ||
603 | `abilities` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, | ||
604 | `last_used_at` timestamp NULL DEFAULT NULL, | ||
605 | `expires_at` timestamp NULL DEFAULT NULL, | ||
606 | `created_at` timestamp NULL DEFAULT NULL, | ||
607 | `updated_at` timestamp NULL DEFAULT NULL, | ||
608 | PRIMARY KEY (`id`), | ||
609 | UNIQUE KEY `personal_access_tokens_token_unique` (`token`), | ||
610 | KEY `personal_access_tokens_tokenable_type_tokenable_id_index` (`tokenable_type`,`tokenable_id`) | ||
611 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
612 | |||
613 | -- Дамп данных таблицы laravel_rekamore.personal_access_tokens: ~0 rows (приблизительно) | ||
614 | DELETE FROM `personal_access_tokens`; | ||
615 | |||
616 | -- Дамп структуры для таблица laravel_rekamore.place_works | ||
617 | CREATE TABLE IF NOT EXISTS `place_works` ( | ||
618 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
619 | `job_title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
620 | `tanker` tinyint(1) NOT NULL DEFAULT '0', | ||
621 | `teplohod` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
622 | `GWT` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
623 | `KBT` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
624 | `begin_work` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
625 | `end_work` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
626 | `name_company` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
627 | `worker_id` bigint NOT NULL, | ||
628 | `created_at` timestamp NULL DEFAULT NULL, | ||
629 | `updated_at` timestamp NULL DEFAULT NULL, | ||
630 | PRIMARY KEY (`id`) | ||
631 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
632 | |||
633 | -- Дамп данных таблицы laravel_rekamore.place_works: ~0 rows (приблизительно) | ||
634 | DELETE FROM `place_works`; | ||
635 | |||
636 | -- Дамп структуры для таблица laravel_rekamore.reclames | ||
637 | CREATE TABLE IF NOT EXISTS `reclames` ( | ||
638 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
639 | `title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
640 | `image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
641 | `link` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
642 | `text` text COLLATE utf8mb4_unicode_ci, | ||
643 | `position` int NOT NULL DEFAULT '0', | ||
644 | `is_hidden` tinyint(1) NOT NULL DEFAULT '0', | ||
645 | `col_vo_click` int NOT NULL DEFAULT '0', | ||
646 | `is_remove` tinyint(1) NOT NULL DEFAULT '0', | ||
647 | `created_at` timestamp NULL DEFAULT NULL, | ||
648 | `updated_at` timestamp NULL DEFAULT NULL, | ||
649 | PRIMARY KEY (`id`) | ||
650 | ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
651 | |||
652 | -- Дамп данных таблицы laravel_rekamore.reclames: ~2 rows (приблизительно) | ||
653 | DELETE FROM `reclames`; | ||
654 | INSERT INTO `reclames` (`id`, `title`, `image`, `link`, `text`, `position`, `is_hidden`, `col_vo_click`, `is_remove`, `created_at`, `updated_at`) VALUES | ||
655 | (1, 'Реклама1', 'reclames/jlGmAiA7uYgaIPFPDnVfVLDxgkx1W17EXJiqIAGo.jpg', 'http://link', '<p>dgfhfghfghfh</p>', 15, 0, 0, 0, '2023-09-13 07:21:50', '2023-09-21 10:11:43'); | ||
656 | |||
657 | -- Дамп структуры для таблица laravel_rekamore.sertifications | ||
658 | CREATE TABLE IF NOT EXISTS `sertifications` ( | ||
659 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
660 | `date_begin` timestamp NULL DEFAULT NULL, | ||
661 | `end_begin` timestamp NULL DEFAULT NULL, | ||
662 | `worker_id` bigint NOT NULL, | ||
663 | `created_at` timestamp NULL DEFAULT NULL, | ||
664 | `updated_at` timestamp NULL DEFAULT NULL, | ||
665 | PRIMARY KEY (`id`) | ||
666 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
667 | |||
668 | -- Дамп данных таблицы laravel_rekamore.sertifications: ~0 rows (приблизительно) | ||
669 | DELETE FROM `sertifications`; | ||
670 | |||
671 | -- Дамп структуры для таблица laravel_rekamore.static_ads | ||
672 | CREATE TABLE IF NOT EXISTS `static_ads` ( | ||
673 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
674 | `ad_employer_id` bigint NOT NULL, | ||
675 | `lookin` int NOT NULL DEFAULT '0', | ||
676 | `month_year` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
677 | `message` int NOT NULL DEFAULT '0', | ||
678 | `created_at` timestamp NULL DEFAULT NULL, | ||
679 | `updated_at` timestamp NULL DEFAULT NULL, | ||
680 | `year_month` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
681 | `old_lookin` int NOT NULL DEFAULT '0', | ||
682 | `old_message` int NOT NULL DEFAULT '0', | ||
683 | PRIMARY KEY (`id`) | ||
684 | ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
685 | |||
686 | -- Дамп данных таблицы laravel_rekamore.static_ads: ~2 rows (приблизительно) | ||
687 | DELETE FROM `static_ads`; | ||
688 | INSERT INTO `static_ads` (`id`, `ad_employer_id`, `lookin`, `month_year`, `message`, `created_at`, `updated_at`, `year_month`, `old_lookin`, `old_message`) VALUES | ||
689 | (1, 1, 20, NULL, 5, '2023-09-15 13:23:17', NULL, '2023.08', 0, 0), | ||
690 | (2, 1, 15, NULL, 7, '2023-09-15 13:23:44', NULL, '2023.09', 0, 0); | ||
691 | |||
692 | -- Дамп структуры для таблица laravel_rekamore.static_workers | ||
693 | CREATE TABLE IF NOT EXISTS `static_workers` ( | ||
694 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
695 | `user_id` bigint NOT NULL, | ||
696 | `lookin` int NOT NULL DEFAULT '0', | ||
697 | `month_year` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
698 | `message` int NOT NULL DEFAULT '0', | ||
699 | `created_at` timestamp NULL DEFAULT NULL, | ||
700 | `updated_at` timestamp NULL DEFAULT NULL, | ||
701 | `year_month` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
702 | `old_lookin` int NOT NULL DEFAULT '0', | ||
703 | `old_message` int NOT NULL DEFAULT '0', | ||
704 | PRIMARY KEY (`id`) | ||
705 | ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
706 | |||
707 | -- Дамп данных таблицы laravel_rekamore.static_workers: ~2 rows (приблизительно) | ||
708 | DELETE FROM `static_workers`; | ||
709 | INSERT INTO `static_workers` (`id`, `user_id`, `lookin`, `month_year`, `message`, `created_at`, `updated_at`, `year_month`, `old_lookin`, `old_message`) VALUES | ||
710 | (1, 1, 10, NULL, 5, '2023-09-15 12:14:04', NULL, '2023.08', 0, 0), | ||
711 | (2, 1, 5, NULL, 2, '2023-09-15 12:14:41', NULL, '2023.09', 2, 1), | ||
712 | (3, 2, 17, NULL, 3, '2023-09-15 13:11:56', '2023-09-15 13:11:57', '2023.09', 10, 2); | ||
713 | |||
714 | -- Дамп структуры для таблица laravel_rekamore.s_e_o_s | ||
715 | CREATE TABLE IF NOT EXISTS `s_e_o_s` ( | ||
716 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
717 | `url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, | ||
718 | `title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
719 | `description` text COLLATE utf8mb4_unicode_ci, | ||
720 | `keywords` text COLLATE utf8mb4_unicode_ci, | ||
721 | `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
722 | `created_at` timestamp NULL DEFAULT NULL, | ||
723 | `updated_at` timestamp NULL DEFAULT NULL, | ||
724 | PRIMARY KEY (`id`) | ||
725 | ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
726 | |||
727 | -- Дамп данных таблицы laravel_rekamore.s_e_o_s: ~2 rows (приблизительно) | ||
728 | DELETE FROM `s_e_o_s`; | ||
729 | INSERT INTO `s_e_o_s` (`id`, `url`, `title`, `description`, `keywords`, `name`, `created_at`, `updated_at`) VALUES | ||
730 | (2, 'https://footyroom.co/', 'FootyRoom - Football / Soccer Highlights and Live Scores', 'Award winning football website. Among the best for latest highlights & football stats. Join our vibrant community & the forums that never sleep.', 'football, soccer, highlights, statistics, goals, premier league, fa cup, super lig, primeira liga, mls, rpl, ronaldo, messi, ligue 1, bundesliga, serie a, ucl, champions league, uefa, eredivisie, la liga', NULL, '2023-09-13 03:45:25', '2023-09-13 03:45:25'), | ||
731 | (3, 'https://google.com', 'Google', 'Поиск информации в интернете: веб страницы, картинки, видео и многое другое.', 'key', NULL, '2023-09-21 10:21:30', '2023-09-21 10:21:30'); | ||
732 | |||
733 | -- Дамп структуры для таблица laravel_rekamore.users | ||
734 | CREATE TABLE IF NOT EXISTS `users` ( | ||
735 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
736 | `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, | ||
737 | `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, | ||
738 | `admin` tinyint(1) NOT NULL DEFAULT '0', | ||
739 | `email_verified_at` timestamp NULL DEFAULT NULL, | ||
740 | `password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, | ||
741 | `remember_token` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
742 | `created_at` timestamp NULL DEFAULT NULL, | ||
743 | `updated_at` timestamp NULL DEFAULT NULL, | ||
744 | `telephone` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
745 | `surname` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
746 | `name_man` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
747 | `surname2` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
748 | `is_worker` tinyint(1) NOT NULL DEFAULT '0', | ||
749 | `is_lookin` tinyint(1) NOT NULL DEFAULT '1', | ||
750 | `is_message` tinyint(1) NOT NULL DEFAULT '1', | ||
751 | `is_public` tinyint(1) NOT NULL DEFAULT '1', | ||
752 | `is_remove` tinyint(1) NOT NULL DEFAULT '0', | ||
753 | `is_ban` tinyint(1) NOT NULL DEFAULT '0', | ||
754 | `is_new` tinyint(1) NOT NULL DEFAULT '1', | ||
755 | `birthday` timestamp NULL DEFAULT NULL, | ||
756 | `is_bd` tinyint(1) NOT NULL DEFAULT '0', | ||
757 | PRIMARY KEY (`id`), | ||
758 | UNIQUE KEY `users_email_unique` (`email`) | ||
759 | ) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
760 | |||
761 | -- Дамп данных таблицы laravel_rekamore.users: ~9 rows (приблизительно) | ||
762 | DELETE FROM `users`; | ||
763 | INSERT INTO `users` (`id`, `name`, `email`, `admin`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`, `telephone`, `surname`, `name_man`, `surname2`, `is_worker`, `is_lookin`, `is_message`, `is_public`, `is_remove`, `is_ban`, `is_new`, `birthday`, `is_bd`) VALUES | ||
764 | (1, 'Разработчик "РЕКАМОРЕ"', 'integralal@mail.ru', 1, '2023-05-15 11:46:39', '$2y$10$MHuBZEFg.yHu1nhl6r/yVeWRYwGzctYn0S12DTnfOuYjnORqxm4dG', 'QobsFc7zmnfFZbDNR0V0lS39ARRHhWznBt39OfsAd23y29QVrsuSfpOpR8Dk', '2023-05-15 04:46:26', '2023-09-05 08:35:10', '+7-913-134-09-42', 'Ларионов', 'Андрей', 'Николаевич', 0, 1, 1, 1, 0, 0, 0, NULL, 0), | ||
765 | (2, 'Администратор "РЕКАМОРЕ"', 'admin@mail.ru', 1, '2023-05-15 17:35:12', '$2y$10$MHuBZEFg.yHu1nhl6r/yVeWRYwGzctYn0S12DTnfOuYjnORqxm4dG', 'pOZc0Nnwq1DoIPbmJNS8ZjWMlKVhkPEFI1vD9vWv9OoiNyYzXXKSrDH1CVr8', '2023-05-15 07:16:27', '2023-09-07 06:51:05', '+7-913-134-09-42', 'Ларионов', 'Андрей', 'Николаевич', 1, 1, 0, 1, 0, 0, 0, NULL, 0), | ||
766 | (3, 'БалтФлот', 'info@renttorg.ru', 0, '2023-09-06 13:45:44', '$2y$10$avhr9OwECSHOtRDCE4Qe/uyq8MelzHKRiRT3NqEm/KApe.JcNSkAK', '5cZRhemIWOPFFQUtB0acF6vFvJVfS9WvSRXxxmTkoFiBiy1Gbv4ZbHQhMQWZ', '2023-05-17 03:45:07', '2023-09-22 04:50:27', '+7-913-555-55-55', 'Иванов1', 'Олег1', 'Кириллов1', 0, 1, 1, 1, 0, 0, 0, NULL, 0), | ||
767 | (5, 'Тестировщик', 'tester@mail.ru', 0, '2023-09-25 12:03:52', '$2y$10$Ai.tsDt2YSUk1w7MItLlX.PxUQZehXR0/S5jUWvRuE6GgqGMokCFa', NULL, '2023-09-25 04:04:00', '2023-09-25 04:04:00', NULL, NULL, NULL, NULL, 1, 1, 1, 1, 0, 0, 1, NULL, 0), | ||
768 | (6, 'tester2', 'tester2@mail.ru', 0, '2023-09-25 12:03:51', '$2y$10$v7vnW5C9.KcJJZl8dA2/KuuCzZEUD6e5BQMfO/7drRzd0Tk9DNGzC', NULL, '2023-09-25 04:12:52', '2023-09-25 04:12:52', NULL, NULL, NULL, NULL, 1, 1, 1, 1, 0, 0, 1, NULL, 0), | ||
769 | (7, 'Проверка', 'integralal2@mail.ru', 0, '2023-09-25 12:03:50', '$2y$10$PiD5.JUKr1k5mj4VEjS91ej69UY/hsFRL8lwbmKMStQAdqY4BxA/e', NULL, '2023-09-25 04:54:22', '2023-09-25 04:54:22', NULL, NULL, NULL, NULL, 1, 1, 1, 1, 0, 0, 1, NULL, 0), | ||
770 | (12, 'Майами', 'integralal1@mail.ru', 0, '2023-10-03 15:16:10', '$2y$10$ksASTDfP.9MhpgEhmlXy1OsIBCZAugyzZsB/nExHJWRTuTCSx/VIi', NULL, '2023-09-25 06:44:52', '2023-09-25 06:44:52', NULL, NULL, NULL, NULL, 0, 1, 1, 1, 0, 0, 1, NULL, 0), | ||
771 | (13, 'Сочи-круиз', 'integralal4@mail.ru', 0, '2023-10-03 15:16:11', '$2y$10$ebqlpJMoGSql38lGHl5psO9ym/YzccujJ9uJSwKGW5Pd9JQps2dda', NULL, '2023-09-25 08:50:16', '2023-09-25 08:50:16', NULL, NULL, NULL, NULL, 0, 1, 1, 1, 0, 0, 1, NULL, 0), | ||
772 | (16, 'Мурманск ОАО', 'integralal5@mail.ru', 0, '2023-09-25 09:04:48', '$2y$10$P2DS2YmkKlKU.gCqPmOid.vhBd8ddiXBVl2e40Os/WE0CXtfZOs6S', NULL, '2023-09-25 09:04:48', '2023-10-03 06:19:56', NULL, NULL, NULL, NULL, 0, 1, 1, 1, 0, 0, 1, NULL, 0); | ||
773 | |||
774 | -- Дамп структуры для таблица laravel_rekamore.Workers | ||
775 | CREATE TABLE IF NOT EXISTS `Workers` ( | ||
776 | `id` bigint unsigned NOT NULL AUTO_INCREMENT, | ||
777 | `user_id` bigint NOT NULL, | ||
778 | `status_work` int NOT NULL DEFAULT '1', | ||
779 | `position_work` int NOT NULL DEFAULT '1', | ||
780 | `telephone` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
781 | `telephone2` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
782 | `email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
783 | `persent_anketa` int NOT NULL DEFAULT '10', | ||
784 | `photo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
785 | `email_data` tinyint(1) NOT NULL DEFAULT '0', | ||
786 | `status_profile` int NOT NULL DEFAULT '1', | ||
787 | `old_year` int DEFAULT NULL, | ||
788 | `experience` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
789 | `en_is` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
790 | `interpassport` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
791 | `mk` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
792 | `vvp` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
793 | `vlm` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
794 | `reka_diplom` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
795 | `more_diplom` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
796 | `mpss` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
797 | `tanker` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
798 | `gmssb` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
799 | `resume` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
800 | `sort` int DEFAULT NULL, | ||
801 | `created_at` timestamp NULL DEFAULT NULL, | ||
802 | `updated_at` timestamp NULL DEFAULT NULL, | ||
803 | `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
804 | `city` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
805 | `text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, | ||
806 | `coord` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
807 | `file` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
808 | `is_remove` tinyint(1) NOT NULL DEFAULT '0', | ||
809 | `favorite_user` tinyint(1) NOT NULL DEFAULT '0', | ||
810 | `sroch_user` tinyint(1) NOT NULL DEFAULT '0', | ||
811 | `education` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Не указано', | ||
812 | PRIMARY KEY (`id`) | ||
813 | ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
814 | |||
815 | -- Дамп данных таблицы laravel_rekamore.Workers: ~1 rows (приблизительно) | ||
816 | DELETE FROM `Workers`; | ||
817 | INSERT INTO `Workers` (`id`, `user_id`, `status_work`, `position_work`, `telephone`, `telephone2`, `email`, `persent_anketa`, `photo`, `email_data`, `status_profile`, `old_year`, `experience`, `en_is`, `interpassport`, `mk`, `vvp`, `vlm`, `reka_diplom`, `more_diplom`, `mpss`, `tanker`, `gmssb`, `resume`, `sort`, `created_at`, `updated_at`, `address`, `city`, `text`, `coord`, `file`, `is_remove`, `favorite_user`, `sroch_user`, `education`) VALUES | ||
818 | (1, 2, 1, 7, '+79131340942', NULL, 'integralal@mail.ru', 100, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2023-05-24 17:11:23', '2023-10-04 09:04:13', 'ул.Островского 5', 'Кемерово', 'Умный, образованный, талантливый человек, без в/п.', NULL, NULL, 0, 1, 1, 'Не указано'); | ||
819 | |||
820 | /*!40103 SET TIME_ZONE=IFNULL(@OLD_TIME_ZONE, 'system') */; | ||
821 | /*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */; | ||
822 | /*!40014 SET FOREIGN_KEY_CHECKS=IFNULL(@OLD_FOREIGN_KEY_CHECKS, 1) */; | ||
823 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; | ||
824 | /*!40111 SET SQL_NOTES=IFNULL(@OLD_SQL_NOTES, 1) */; | ||
825 |