From f01bfa06c92ef931815e8be96067a0dcada78844 Mon Sep 17 00:00:00 2001 From: solocla Date: Wed, 29 Jul 2026 12:24:58 +0200 Subject: [PATCH] fixed exxcel row column --- ...60729102415_change_excelrow_to_varchar.php | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 db/migrations/20260729102415_change_excelrow_to_varchar.php diff --git a/db/migrations/20260729102415_change_excelrow_to_varchar.php b/db/migrations/20260729102415_change_excelrow_to_varchar.php new file mode 100644 index 0000000..6e8b991 --- /dev/null +++ b/db/migrations/20260729102415_change_excelrow_to_varchar.php @@ -0,0 +1,27 @@ +table('datadb') + ->changeColumn('excelrow', 'string', [ + 'limit' => 100, + 'null' => true, + ]) + ->update(); + } + + public function down(): void + { + $this->table('datadb') + ->changeColumn('excelrow', 'integer', [ + 'null' => true, + ]) + ->update(); + } +}