renames db column for auto_assign boolean, rewords trans string, default value of 1 now

This commit is contained in:
Godfrey M 2023-01-18 08:43:03 -08:00
parent 8a0517fb5d
commit 6fbb484dfd
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ class AddsShouldAutoassignBoolToUsersTable extends Migration
public function up() public function up()
{ {
Schema::table('users', function (Blueprint $table) { Schema::table('users', function (Blueprint $table) {
$table->boolean('should_autoassign')->nullable(false)->default(0); $table->boolean('autoassign_licenses')->nullable(false)->default(1);
}); });
} }

View file

@ -19,7 +19,7 @@ return [
'print_assigned' => 'Print All Assigned', 'print_assigned' => 'Print All Assigned',
'email_assigned' => 'Email List of All Assigned', 'email_assigned' => 'Email List of All Assigned',
'user_notified' => 'User has been emailed a list of their currently assigned items.', 'user_notified' => 'User has been emailed a list of their currently assigned items.',
'auto_assign_label' => 'User should be skipped during auto assignment commands', 'auto_assign_label' => 'Include this user when auto-assigning eligible licenses',
'auto_assign_help' => 'Skip this user in auto assignment of licenses', 'auto_assign_help' => 'Skip this user in auto assignment of licenses',
'software_user' => 'Software Checked out to :name', 'software_user' => 'Software Checked out to :name',
'send_email_help' => 'You must provide an email address for this user to send them credentials. Emailing credentials can only be done on user creation. Passwords are stored in a one-way hash and cannot be retrieved once saved.', 'send_email_help' => 'You must provide an email address for this user to send them credentials. Emailing credentials can only be done on user creation. Passwords are stored in a one-way hash and cannot be retrieved once saved.',