Patch for the demo

This commit is contained in:
Mathieu Lagace
2019-08-23 15:41:43 -04:00
parent bfdfcb87cf
commit db63c4ea4d
10 changed files with 504 additions and 181 deletions

View File

@@ -42,7 +42,7 @@ class CreateUsersTable extends Migration
$table->string('user_see')->default('unknown');
$table->string('user_edit')->default('unknown');
$table->string('user_notify')->default('unknown');
$table->string('api_token', 60)->unique()->default(str_random(60));
$table->string('api_token', 60)->unique()->default(str_shuffle(str_random(60)));
$table->rememberToken();
$table->timestamps();
});

View File

@@ -17,6 +17,8 @@ class CreateComplementaryActivitiesTable extends Migration
$table->increments('id');
$table->string('name');
$table->text('public_body');
$table->text('public_slogan');
$table->string('public_header_picture');
$table->text('admin_desc');
$table->string('calendar_color')->default('blue');
$table->string('calendar_icon')->default('<i class="fa fa-question-circle"></i>');