From a31a3e22a3dcf1a00169fecdc18ebe2ded06f1ba Mon Sep 17 00:00:00 2001 From: Arno Kaimbacher Date: Wed, 16 Jun 2021 10:17:25 +0200 Subject: [PATCH] - db migration: change length of attribute 'label' to 255 --- ...00431_change_label_document_references.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 database/migrations/2021_06_16_100431_change_label_document_references.php diff --git a/database/migrations/2021_06_16_100431_change_label_document_references.php b/database/migrations/2021_06_16_100431_change_label_document_references.php new file mode 100644 index 0000000..c369847 --- /dev/null +++ b/database/migrations/2021_06_16_100431_change_label_document_references.php @@ -0,0 +1,32 @@ +string('label', 255)->change(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('document_references', function (Blueprint $table) { + $table->string('label', 50)->change(); + }); + } +}