mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
ALPHA 3.0.2
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user