From 1e96ea413fefeb57e1ee655d8ad6a7fb4fc492cd Mon Sep 17 00:00:00 2001 From: Chirag Chhatrala <60499540+chiragchhatrala@users.noreply.github.com> Date: Mon, 6 Mar 2023 14:56:00 +0530 Subject: [PATCH] Change max submissions reached text to text (#99) --- ...e_max_submissions_reached_text_to_text.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 database/migrations/2023_03_06_033440_change_max_submissions_reached_text_to_text.php diff --git a/database/migrations/2023_03_06_033440_change_max_submissions_reached_text_to_text.php b/database/migrations/2023_03_06_033440_change_max_submissions_reached_text_to_text.php new file mode 100644 index 0000000..eb15040 --- /dev/null +++ b/database/migrations/2023_03_06_033440_change_max_submissions_reached_text_to_text.php @@ -0,0 +1,32 @@ +text('max_submissions_reached_text')->nullable()->default('This form has now reached the maximum number of allowed submissions and is now closed.')->change(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('forms', function (Blueprint $table) { + $table->string('max_submissions_reached_text')->nullable()->default('This form has now reached the maximum number of allowed submissions and is now closed.')->change(); + }); + } +};