1
0
Fork 0
This repository has been archived on 2026-05-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
sexelleryoga/database/migrations/2020_09_12_172753_initial.php
2020-10-03 16:07:18 +02:00

33 lines
654 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class Initial extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('words', function (Blueprint $table) {
$table->id();
$table->uuid('uuid')->unique()->index();
$table->string('value')->unique();
$table->enum('type', ['sex', 'yoga']);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}