Skip to content

Commit

Permalink
feat: Set user.status enum
Browse files Browse the repository at this point in the history
  • Loading branch information
KminekMatej committed Sep 16, 2024
1 parent 453896d commit c0e0a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/module/user/mapper/UserMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static function scheme(): array
Field::int()->withColumn("editable_call_name")->setProperty("canEditCallName"),
Field::datetime()->withColumn("created_at", false, true)->setProperty("createdAt"),
Field::datetime()->withColumn("last_login", false, true)->setProperty("lastLogin"),
Field::string(15)->withPropertyAndColumn("status"),
Field::string()->withPropertyAndColumn("status")->setEnum(['INIT', 'PLAYER', 'MEMBER', 'SICK']),
Field::string(40)->withPropertyAndColumn("roles"),
Field::string(20)->withColumn("first_name")->setProperty("firstName"),
Field::string(20)->withColumn("last_name")->setProperty("lastName"),
Expand Down

0 comments on commit c0e0a57

Please sign in to comment.