From 8d6e8b306d7836e4075a13ad98617bfe5afaa1a0 Mon Sep 17 00:00:00 2001 From: Fbenas Date: Sat, 20 Jun 2020 21:07:45 +0100 Subject: Add new scripts for youtube downloading and syncing with existing matches --- .../2020_06_20_162435_create_videos_table.php | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 database/migrations/2020_06_20_162435_create_videos_table.php (limited to 'database/migrations') diff --git a/database/migrations/2020_06_20_162435_create_videos_table.php b/database/migrations/2020_06_20_162435_create_videos_table.php new file mode 100644 index 0000000..28f7377 --- /dev/null +++ b/database/migrations/2020_06_20_162435_create_videos_table.php @@ -0,0 +1,36 @@ +id(); + $table->dateTime('date')->nullable(); + $table->unsignedInteger('match_id')->nullable(); + $table->string('path'); + $table->timestamps(); + } + ); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('videos'); + } +} -- cgit v1.2.3