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

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

View File

@@ -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');
//
});
}
}