From 00a3ae98b42b37129da43a7c0841f3c693bd6187 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Wed, 14 Sep 2016 15:06:32 -0400 Subject: [PATCH] Allow longer regex --- ..._09_14_145945_allow_longer_regex_field.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 database/migrations/2016_09_14_145945_allow_longer_regex_field.php diff --git a/database/migrations/2016_09_14_145945_allow_longer_regex_field.php b/database/migrations/2016_09_14_145945_allow_longer_regex_field.php new file mode 100644 index 000000000..d8a4e8c65 --- /dev/null +++ b/database/migrations/2016_09_14_145945_allow_longer_regex_field.php @@ -0,0 +1,32 @@ +text('regex')->change(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('service_variables', function (Blueprint $table) { + $table->string('regex')->change(); + }); + } +}