Project support has been updated

This commit is contained in:
2022-02-13 12:33:34 +01:00
parent db09f170a0
commit 098bab32e9
5 changed files with 20 additions and 14 deletions

View File

@@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
@@ -17,13 +19,13 @@ class CreateProjectsTable extends Migration
Schema::create('projects', function (Blueprint $table) {
$table->id();
$table->string('title', 255);
$table->json('categories');
$table->json('categories')->nullable()->default(null);
$table->string('author', 30);
$table->string('image_url', 30);
$table->dateTimeTz('release_data');
$table->string('project_url', 255);
$table->string('project_version', 20);
$table->text('description');
$table->string('image_url', 30)->nullable()->default(null);
$table->dateTimeTz('release_data')->nullable()->useCurrent();
$table->string('project_url', 255)->nullable()->default(null);
$table->string('project_version', 20)->nullable()->default(null);
$table->text('description')->nullable()->default(null);
$table->timestamps();
});
}