Added abgelehnt feature, fixed counting up/downvotes on landing page and movies by date page

This commit is contained in:
Sebastian Uharek committed 2021-02-23 00:55:56 +01:00
1 parent c58fe40fbe
commit b03397d1dc
7 files changed
+184 -11

No files matched your search

@@ -0,0 +1,35 @@
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddAbgelehntToFilm extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('films', function(Blueprint $table)
{
$table->date('abgelehnt')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('films', function(Blueprint $table)
{
$table->dropColumn('abgelehnt');
//
});
}
}