From db9c46f743b6c384c069f1628e0919b1e9d13f8d Mon Sep 17 00:00:00 2001 From: cmg_anton_nikolaev Date: Mon, 11 Jan 2016 11:50:31 +0300 Subject: [PATCH] longtext for message --- migrations/m160111_084713_translate.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 migrations/m160111_084713_translate.php diff --git a/migrations/m160111_084713_translate.php b/migrations/m160111_084713_translate.php new file mode 100644 index 0000000..263ac97 --- /dev/null +++ b/migrations/m160111_084713_translate.php @@ -0,0 +1,17 @@ +alterColumn('{{language_source}}', 'message', 'longtext NULL'); + } + + public function safeDown() + { + $this->alterColumn('{{language_source}}', 'message', Schema::TYPE_TEXT . ' NULL'); + } +}