From a6090b9a44d37dbd562817d7dacbc53a5a2200b8 Mon Sep 17 00:00:00 2001 From: horus Date: Tue, 22 Sep 2020 23:59:52 +0200 Subject: add duration to anime --- .../2020_09_19_214845_add_duration_to_anime.php | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 database/migrations/2020_09_19_214845_add_duration_to_anime.php (limited to 'database') diff --git a/database/migrations/2020_09_19_214845_add_duration_to_anime.php b/database/migrations/2020_09_19_214845_add_duration_to_anime.php new file mode 100644 index 0000000..b9a1f7f --- /dev/null +++ b/database/migrations/2020_09_19_214845_add_duration_to_anime.php @@ -0,0 +1,32 @@ +integer('duration')->nullable()->default(null); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('anime', function (Blueprint $table) { + $table->dropColumn('duration'); + }); + } +} -- cgit v1.2.3