From 31eb106c218ae529ef07525d2a145c136fba8eea Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 18 Jul 2016 21:59:17 +0200 Subject: Added IP to log --- .../2016_05_11_114635_add_ip_to_random_logs.php | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 database/migrations/2016_05_11_114635_add_ip_to_random_logs.php (limited to 'database') diff --git a/database/migrations/2016_05_11_114635_add_ip_to_random_logs.php b/database/migrations/2016_05_11_114635_add_ip_to_random_logs.php new file mode 100644 index 0000000..023f333 --- /dev/null +++ b/database/migrations/2016_05_11_114635_add_ip_to_random_logs.php @@ -0,0 +1,31 @@ +string('ip', 45)->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('random_logs', function (Blueprint $table) { + $table->dropColumn('ip'); + }); + } +} -- cgit v1.2.3