Skip to content

A free open source IT asset/license management system

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

Godfrey M6fbb484dfd53
diff --git a/database/migrations/2022_11_15_232525_adds_should_autoassign_bool_to_users_table.php b/database/migrations/2022_11_15_232525_adds_should_autoassign_bool_to_users_table.php
index 6f6f308e44..854feebfea 100644
--- a/database/migrations/2022_11_15_232525_adds_should_autoassign_bool_to_users_table.php
+++ b/database/migrations/2022_11_15_232525_adds_should_autoassign_bool_to_users_table.php
@@ -14,7 +14,7 @@ class AddsShouldAutoassignBoolToUsersTable extends Migration
public function up()
{
Schema::table('users', function (Blueprint $table) {
- $table->boolean('should_autoassign')->nullable(false)->default(0);
+ $table->boolean('autoassign_licenses')->nullable(false)->default(1);
});
}
diff --git a/resources/lang/en/admin/users/general.php b/resources/lang/en/admin/users/general.php
index 71f56c7a15..58c54a7d27 100644
--- a/resources/lang/en/admin/users/general.php
+++ b/resources/lang/en/admin/users/general.php
@@ -19,7 +19,7 @@ return [
'print_assigned' => 'Print All Assigned',
'email_assigned' => 'Email List of All Assigned',
'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',
'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.',