diff --git a/database/migrations/2022_07_05_211328_add_expiry_to_note.php b/database/migrations/2022_07_05_211328_add_expiry_to_note.php new file mode 100644 index 0000000..edf2699 --- /dev/null +++ b/database/migrations/2022_07_05_211328_add_expiry_to_note.php @@ -0,0 +1,32 @@ +timestamp('expiry_date'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('notes', function (Blueprint $table) { + $table->dropColumn('expiry_date'); + }); + } +}