April 9 update

This commit is contained in:
George Frederick "Buzz" Beurling
2020-04-09 17:20:03 -04:00
parent 94509caf3c
commit 50abb9d909
57 changed files with 2635 additions and 854 deletions

View File

@@ -21,6 +21,7 @@ class CreateCoursesTable extends Migration
$table->integer('level');
$table->string('location');
$table->text('comment');
$table->text('comment_officer');
$table->integer('event_id');
$table->string('user_id');
$table->timestamps();

View File

@@ -0,0 +1,37 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateLessonPlansTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('lesson_plans', function (Blueprint $table) {
$table->bigIncrements('id');
$table->integer('user_id');
$table->string('file');
$table->integer('course_id')->nullable();
$table->text('desc')->nullable();
$table->text('comment')->nullable();
$table->boolean('approved')->default(false);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('lesson_plans');
}
}