Test performance

This commit is contained in:
Lagacé Mathieu
2020-01-24 10:33:16 -05:00
parent ef6f403e1b
commit 03cf1c5493
48 changed files with 4699 additions and 1727 deletions

View File

@@ -22,9 +22,13 @@ class CreateEventsTable extends Migration
$table->string('user_id');
$table->string('location');
$table->boolean('is_mandatory');
$table->boolean('use_weekly_msg');
$table->boolean('use_schedule');
$table->text('desc');
$table->text('msg');
$table->string('date_msg');
$table->text('schedule');
$table->string('calendar_color');
$table->string('calendar_icon');
$table->timestamps();
});
}

View File

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

View File

@@ -17,8 +17,8 @@ class CreateEventTypesTable extends Migration
$table->bigIncrements('id');
$table->string('name');
$table->text('admin_desc');
$table->string('calendar_color')->default('blue');
$table->string('calendar_icon')->default('<i class="fa fa-question-circle"></i>');
$table->string('calendar_color')->default('#FFFFFF');
$table->string('calendar_icon')->default('fa fa-question-circle');
$table->string('begin_time')->default('12:00');
$table->string('end_time')->default('13:00');
$table->string('location')->default('Escadron');
@@ -27,6 +27,7 @@ class CreateEventTypesTable extends Migration
$table->string('weekly_msg_publication_time')->default('-5day');
$table->boolean('use_schedule')->default(false);
$table->text('schedule_model');
$table->text('weekly_msg');
$table->boolean('is_promoted')->default(false);
$table->timestamps();
});