Skip to content
This repository was archived by the owner on Apr 19, 2022. It is now read-only.

Commit 307e7f5

Browse files
Андрей Сосновjhaoda
authored andcommitted
Несколько улучшений (#12)
* Изменен часовой пояс и локализация * "Умное" удаление в миграции `users` * "Умное" удаление в миграции `password_resets`
1 parent a52991e commit 307e7f5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

config/app.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
|
6565
*/
6666

67-
'timezone' => 'UTC',
67+
'timezone' => 'Europe/Moscow',
6868

6969
/*
7070
|--------------------------------------------------------------------------
@@ -77,7 +77,7 @@
7777
|
7878
*/
7979

80-
'locale' => 'en',
80+
'locale' => 'ru',
8181

8282
/*
8383
|--------------------------------------------------------------------------
@@ -180,8 +180,8 @@
180180
],
181181

182182
'local_providers' => [
183-
\Barryvdh\Debugbar\ServiceProvider::class,
184-
\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,
183+
Barryvdh\Debugbar\ServiceProvider::class,
184+
Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,
185185
],
186186

187187
/*

database/migrations/2014_10_12_000000_create_users_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ public function up()
3030
*/
3131
public function down()
3232
{
33-
Schema::drop('users');
33+
Schema::dropIfExists('users');
3434
}
3535
}

database/migrations/2014_10_12_100000_create_password_resets_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ public function up()
2727
*/
2828
public function down()
2929
{
30-
Schema::drop('password_resets');
30+
Schema::dropIfExists('password_resets');
3131
}
3232
}

0 commit comments

Comments
 (0)