From d28031a9bce484529d2954c96c17fe52045f1b22 Mon Sep 17 00:00:00 2001 From: pitchum Date: Thu, 20 Jun 2019 11:25:45 +0200 Subject: [PATCH] Create column 'pastes.burnAfter' Fix #14 --- ...019_06_20_092004_add_column_burn_after.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 database/migrations/2019_06_20_092004_add_column_burn_after.php diff --git a/database/migrations/2019_06_20_092004_add_column_burn_after.php b/database/migrations/2019_06_20_092004_add_column_burn_after.php new file mode 100644 index 0000000..e6dd739 --- /dev/null +++ b/database/migrations/2019_06_20_092004_add_column_burn_after.php @@ -0,0 +1,32 @@ +boolean('burnAfter'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('pastes', function (Blueprint $table) { + $table->dropColumn('burnAfter'); + }); + } +}