From 434f1f229c0ea98f572e86bd373c5c090adfbea6 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 18 Dec 2022 07:25:56 -0700 Subject: [PATCH] Add migration --- ...d_default_value_to_admin_invites_table.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 database/migrations/2022_12_18_133815_add_default_value_to_admin_invites_table.php diff --git a/database/migrations/2022_12_18_133815_add_default_value_to_admin_invites_table.php b/database/migrations/2022_12_18_133815_add_default_value_to_admin_invites_table.php new file mode 100644 index 000000000..a853be503 --- /dev/null +++ b/database/migrations/2022_12_18_133815_add_default_value_to_admin_invites_table.php @@ -0,0 +1,32 @@ +unsignedInteger('uses')->default(0)->after('max_uses'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('admin_invites', function (Blueprint $table) { + $table->dropColumn('uses'); + }); + } +};