From 010cd403f5ba44019df59351be7377cf4329c25e Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Fri, 25 Mar 2016 10:59:17 +1100 Subject: [PATCH] Detail column now supports lengthy updates Fixes #1816 --- ..._10_01_000004_Db_System_Plugin_History.php | 1 - ...9_Db_System_Plugin_History_Detail_Text.php | 20 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 modules/system/database/migrations/2016_10_01_000019_Db_System_Plugin_History_Detail_Text.php diff --git a/modules/system/database/migrations/2013_10_01_000004_Db_System_Plugin_History.php b/modules/system/database/migrations/2013_10_01_000004_Db_System_Plugin_History.php index 812c9f5ac..94cc4a0f3 100644 --- a/modules/system/database/migrations/2013_10_01_000004_Db_System_Plugin_History.php +++ b/modules/system/database/migrations/2013_10_01_000004_Db_System_Plugin_History.php @@ -4,7 +4,6 @@ use October\Rain\Database\Updates\Migration; class DbSystemPluginHistory extends Migration { - public function up() { Schema::create('system_plugin_history', function ($table) { diff --git a/modules/system/database/migrations/2016_10_01_000019_Db_System_Plugin_History_Detail_Text.php b/modules/system/database/migrations/2016_10_01_000019_Db_System_Plugin_History_Detail_Text.php new file mode 100644 index 000000000..247694d15 --- /dev/null +++ b/modules/system/database/migrations/2016_10_01_000019_Db_System_Plugin_History_Detail_Text.php @@ -0,0 +1,20 @@ +text('detail')->nullable()->change(); + }); + } + + public function down() + { + Schema::table('system_plugin_history', function ($table) { + $table->string('detail')->nullable()->change(); + }); + } +}