From 4ec069b1462e5c96039a1784840e30070c0be7a9 Mon Sep 17 00:00:00 2001 From: Louis Jeckel Date: Thu, 15 Oct 2020 01:44:58 +0200 Subject: [PATCH] missiing migration --- .../2020_10_14_032810_add_infos_to_users.php | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 database/migrations/2020_10_14_032810_add_infos_to_users.php diff --git a/database/migrations/2020_10_14_032810_add_infos_to_users.php b/database/migrations/2020_10_14_032810_add_infos_to_users.php new file mode 100644 index 0000000..1ec101c --- /dev/null +++ b/database/migrations/2020_10_14_032810_add_infos_to_users.php @@ -0,0 +1,36 @@ +string('service')->nullable(); + $table->boolean('wants_pdf')->default(0); + $table->boolean('accepts_polls')->default(0); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('users', function (Blueprint $table) { + $table->dropColumn('service'); + $table->dropColumn('wants_pdf'); + $table->dropColumn('accepts_polls'); + }); + } +} -- 2.39.5