This repository has been archived on 2025-08-22. You can view files and clone it, but cannot push or open issues or pull requests.
Files
dumbo/app/database/migrations/2021_02_22_232450_add_abgelehnt_to_film.php

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