This commit is contained in:
Ludovic CANDELLIER
2021-09-09 00:03:24 +02:00
parent 50d445bb3b
commit 9cf96b7d4e
22 changed files with 183 additions and 38 deletions

View File

@@ -14,7 +14,7 @@ class CreateBotanicFamiliesTable extends Migration {
{
Schema::create('botanic_families', function(Blueprint $table)
{
$table->integer('id')->nullable();
$table->increments('id');
$table->string('name', 50)->nullable();
$table->string('alias', 50)->nullable();
$table->string('latin', 50)->nullable();

View File

@@ -14,7 +14,7 @@ class CreateBotanicGenresTable extends Migration {
{
Schema::create('botanic_genres', function(Blueprint $table)
{
$table->integer('id', true);
$table->increments('id');
$table->integer('family_id')->nullable();
$table->string('name', 50)->nullable();
$table->string('alias', 50)->nullable();