From 345175659de9b8f337e51f356a365bf8b30f8049 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jefferson=20Sim=C3=A3o=20Gon=C3=A7alves?= Date: Mon, 11 Nov 2019 09:32:25 -0300 Subject: [PATCH] Create 20191111092900_UpdateFieldsToLogs.php Alterando o tamanho das colunas table_name e database_name. --- .../20191111092900_UpdateFieldsToLogs.php | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 config/Migrations/20191111092900_UpdateFieldsToLogs.php diff --git a/config/Migrations/20191111092900_UpdateFieldsToLogs.php b/config/Migrations/20191111092900_UpdateFieldsToLogs.php new file mode 100644 index 0000000..a81e480 --- /dev/null +++ b/config/Migrations/20191111092900_UpdateFieldsToLogs.php @@ -0,0 +1,30 @@ +table('logs'); + $table->changeColumn('table_name', 'string', [ + 'default' => null, + 'limit' => 255, + 'null' => false, + ]); + $table->changeColumn('database_name', 'string', [ + 'default' => null, + 'limit' => 255, + 'null' => false, + ]); + $table->update(); + } +}