Dieses Repository wurde am 2025-08-22 archiviert. Du kannst Dateien ansehen und es klonen, aber nicht pushen oder Issues/Pull-Requests öffnen.
Files
dumbo/app/database/migrations/2021_02_22_232450_add_abgelehnt_to_film.php

36 Zeilen
526 B
PHP

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