From 95707c77494b23070b69330090d0dd17cc882276 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Jaussoin?= Date: Mon, 9 Oct 2023 16:47:40 +0200 Subject: [PATCH] Fix #19 Set all the ERROR confirmation_key to null in the accounts table --- ...nfirmation_key_nullable_in_accounts_table.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 flexiapi/database/migrations/2023_10_09_143939_confirmation_key_nullable_in_accounts_table.php diff --git a/flexiapi/database/migrations/2023_10_09_143939_confirmation_key_nullable_in_accounts_table.php b/flexiapi/database/migrations/2023_10_09_143939_confirmation_key_nullable_in_accounts_table.php new file mode 100644 index 0000000..7e4694a --- /dev/null +++ b/flexiapi/database/migrations/2023_10_09_143939_confirmation_key_nullable_in_accounts_table.php @@ -0,0 +1,16 @@ +where('confirmation_key', 'ERROR')->update(['confirmation_key' => null]); + } + + public function down() + { + } +};