From c4c52ac0af47feaf501fccac11095e778e0047a3 Mon Sep 17 00:00:00 2001 From: yash Date: Thu, 25 Jul 2024 10:46:43 +0530 Subject: [PATCH] Bug fixes --- ...1_add_form_snapshot_to_responses_table.php | 28 ------------------- public/js/script.js | 2 +- 2 files changed, 1 insertion(+), 29 deletions(-) delete mode 100644 database/migrations/2024_07_24_184851_add_form_snapshot_to_responses_table.php diff --git a/database/migrations/2024_07_24_184851_add_form_snapshot_to_responses_table.php b/database/migrations/2024_07_24_184851_add_form_snapshot_to_responses_table.php deleted file mode 100644 index f2a6be8..0000000 --- a/database/migrations/2024_07_24_184851_add_form_snapshot_to_responses_table.php +++ /dev/null @@ -1,28 +0,0 @@ -json('form_snapshot')->nullable(); - }); - } - - /** - * Reverse the migrations. - */ - public function down(): void - { - Schema::table('responses', function (Blueprint $table) { - $table->dropColumn('form_snapshot'); - }); - } -}; diff --git a/public/js/script.js b/public/js/script.js index adfe5b5..59bca6e 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -6,7 +6,7 @@ document.addEventListener("DOMContentLoaded", function () { const optionDiv = document.createElement("div"); optionDiv.className = "option"; optionDiv.innerHTML = ` - + `; optionContainer.appendChild(optionDiv);