From 46f7f6b3fe742a3c1de60ab5846a6d1110fecf27 Mon Sep 17 00:00:00 2001 From: Ahsanul Bari Date: Fri, 18 Dec 2015 02:24:24 +0600 Subject: [PATCH] Issue#669: Convert 'settings' table 'value' column to TEXT instead of BLOB --- ...7_change_settings_value_column_to_text.php | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 migrations/2015_12_17_194247_change_settings_value_column_to_text.php diff --git a/migrations/2015_12_17_194247_change_settings_value_column_to_text.php b/migrations/2015_12_17_194247_change_settings_value_column_to_text.php new file mode 100644 index 000000000..85c603d27 --- /dev/null +++ b/migrations/2015_12_17_194247_change_settings_value_column_to_text.php @@ -0,0 +1,23 @@ +schema->table('settings', function (Blueprint $table) { + $table->text('value')->change(); + }); + } + + public function down() + { + $this->schema->table('settings', function (Blueprint $table) { + $table->binary('value')->change(); + }); + } +}