Commit Graph

7 Commits

Author SHA1 Message Date
524bf569e3
The 'locale' column in the users table migration was renamed to 'lang'. This change was made to improve the clarity and consistency of naming conventions across the database. The term 'lang' is more universally recognized and thus provides better code readability.
!!! Since the project has not yet been launched, therefore, I do not create a new migration, but change the current one. !!!
2023-07-09 19:31:42 +06:00
e5d0cac07d
Changed the data type and default value of 'locale' and 'timezone' fields in the users table. Instead of using strings, we are now using unsigned integers.
!!! Since the project has not yet been launched, therefore, I do not create a new migration, but change the current one. !!!
2023-07-08 15:12:10 +06:00
6b2aff910b
Added console command to add user with admin role. 2023-07-02 16:17:18 +06:00
9b56522f02
A new 'locale' field of string type with a maximum length of 2 characters and a default value as 'ru' has been added to the users table through a migration file. This field has been also added to the User model. The addition of the 'locale' field will allow users to specify their preferred language in their profile settings. 2023-06-29 00:06:27 +06:00
34319e5724
Additional fields 'is_active' and 'timezone' have been added to the users table in the database migrations and the User model. This update allows us to better manage user's activation status and time zone preferences. 'is_active' field, a boolean field, signifies the active status of a user and has been set to default to false. 'timezone', an optional string, will store user's preferred timezone. 2023-06-28 23:44:06 +06:00
cf449eb8e2
Add SoftDeletes feature to User model. 2023-06-28 23:05:31 +06:00
15225e860c
Install Laravel. 2023-03-05 20:14:04 +06:00