Files
Docker/Productivite/Snipe-IT/database/migrations/2015_03_18_055327_add_note_to_user.php
2024-04-21 14:42:52 +02:00

32 lines
573 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class AddNoteToUser extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users', function ($table) {
$table->text('notes')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('users', function ($table) {
$table->dropColumn('notes');
});
}
}