project continue
This commit is contained in:
@@ -15,7 +15,7 @@ class CreateUsersTable extends Migration
|
||||
{
|
||||
Schema::create('users', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('username');
|
||||
$table->string('username')->unique();
|
||||
$table->string('name');
|
||||
$table->string('email')->unique();
|
||||
$table->timestamp('email_verified_at')->nullable();
|
||||
|
||||
@@ -15,8 +15,9 @@ class CreateProjectsTable extends Migration
|
||||
{
|
||||
Schema::create('projects', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name');
|
||||
$table->string('name')->unique();
|
||||
$table->string('description');
|
||||
$table->string('mmc_path');
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
});
|
||||
|
||||
@@ -15,6 +15,7 @@ class CreateDocStructureModelsTable extends Migration
|
||||
{
|
||||
Schema::create('doc_structure_models', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->integer('project_id')->unsigned();
|
||||
$table->string('category');
|
||||
$table->integer('parent_id')->unsigned()->nullable();
|
||||
$table->timestamps();
|
||||
Reference in New Issue
Block a user