Merge branch 'master' of https://github.com/sebathefox/skolehjem-webapp into master
This commit is contained in:
@@ -26,7 +26,7 @@ class CreateUsersTable extends Migration
|
||||
$table->string('email')->unique();
|
||||
$table->timestamp('email_verified_at')->nullable();
|
||||
$table->string('password');
|
||||
$table->integer("phone")->unique();
|
||||
$table->string("phone", 8)->unique();
|
||||
$table->rememberToken();
|
||||
$table->foreignId("resource_id")->nullable()->constrained("resources", "id");
|
||||
$table->boolean("wants_emails")->default(true);
|
||||
|
||||
@@ -17,9 +17,11 @@ class CreateMenuPlans extends Migration
|
||||
{
|
||||
Schema::create('menu_plans', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('week', 2);
|
||||
$table->longText('menu');
|
||||
$table->unique('week');
|
||||
$table->integer('week')->unique();
|
||||
$table->string('monday', 255);
|
||||
$table->string('tuesday', 255);
|
||||
$table->string('wednesday', 255);
|
||||
$table->string('thursday', 255);
|
||||
$table->timestamps();
|
||||
//$table->text('description');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user