diff --git a/database/migrations/2018_12_24_032921_add_delete_after_to_user_table.php b/database/migrations/2018_12_24_032921_add_delete_after_to_user_table.php new file mode 100644 index 000000000..70ea6bd2e --- /dev/null +++ b/database/migrations/2018_12_24_032921_add_delete_after_to_user_table.php @@ -0,0 +1,40 @@ +timestamp('delete_after')->nullable(); + }); + + Schema::table('users', function (Blueprint $table) { + $table->timestamp('delete_after')->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('profiles', function (Blueprint $table) { + $table->dropColumn('delete_after'); + }); + + Schema::table('users', function (Blueprint $table) { + $table->dropColumn('delete_after'); + }); + } +}