Fixes on tag_Groups and variations, add migrations

This commit is contained in:
Ludovic CANDELLIER
2022-01-25 22:25:18 +01:00
parent 9b6bac5545
commit ed1d87a7d1
39 changed files with 1125 additions and 21 deletions

View File

@@ -0,0 +1,35 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateTeamsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('teams', function(Blueprint $table)
{
$table->increments('id');
$table->integer('owner_id')->unsigned()->nullable();
$table->string('name');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('teams');
}
}