This commit is contained in:
frederikpyt
2020-08-03 12:57:14 +02:00
parent 7abfbe27b2
commit a66b7aad92
8 changed files with 31 additions and 35 deletions
@@ -37,6 +37,7 @@ class CreatePermissionTables extends Migration
Schema::create($tableNames['roles'], function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('name');
$table->unique('name');
$table->string('description');
$table->string('guard_name');
$table->timestamps();
@@ -1,29 +0,0 @@
<?php
//Migrations acts as a version control for the database allowing you to modify the app's database schema
//allows use of necessary libraries
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AlterWashingReservations extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}
@@ -22,6 +22,7 @@ class CreateMenuPlans extends Migration
$table->string('tuesday', 255);
$table->string('wednesday', 255);
$table->string('thursday', 255);
$table->unique('week');
$table->timestamps();
//$table->text('description');
});