ALPHA 3.0.2

This commit is contained in:
TheGamecraft
2018-09-05 11:35:41 -04:00
parent 4dbdc8fd19
commit 8ef8057bfa
771 changed files with 9284 additions and 5857 deletions

View File

@@ -19,13 +19,30 @@ class CreateUsersTable extends Migration
$table->string('lastname');
$table->string('email')->unique();
$table->string('password');
$table->string('rank')->default('0');
$table->string('adress');
$table->string('telephone');
$table->string('rank')->default(1);
$table->string('adress')->default('null');
$table->string('telephone')->default('null');
$table->string('age');
$table->string('avatar');
$table->string('avatar')->default('null');
$table->string('sexe');
$table->string('job');
$table->string('job')->default(6);
$table->integer('acces_level')->default(0);
$table->boolean('schedule_see')->default(0);
$table->boolean('schedule_edit')->default(0);
$table->boolean('schedule_notify')->default(0);
$table->boolean('message_see')->default(0);
$table->boolean('message_edit')->default(0);
$table->boolean('message_notify')->default(0);
$table->boolean('paper_edit')->default(0);
$table->boolean('paper_publish')->default(0);
$table->boolean('paper_notify')->default(0);
$table->boolean('inventory_see')->default(0);
$table->boolean('inventory_edit')->default(0);
$table->boolean('inventory_notify')->default(0);
$table->boolean('user_see')->default(0);
$table->boolean('user_edit')->default(0);
$table->boolean('user_notify')->default(0);
$table->string('api_token', 60)->unique()->default(str_random(60));
$table->rememberToken();
$table->timestamps();
});