Project support has been updated
This commit is contained in:
@@ -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();
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user