A lot of things don't work the way I assume, why? #96
Unanswered
jakubforman
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First of all the plugin looks fantastic, but after switching it on there are complications and I want to find out if I am doing something wrong or if it is really a bug that should be reported as an issue.
In my seeder I create Levels, this works properly, however when it comes to seed other parts, most things don't work as I would expect. I need to simulate and test data in the application, so I would expect the following:
setPoints()
even if the user doesn't have XP sets them to that value, instead I have to useaddPoints()
so then I don't understand the reason for the existence ofsetPoints()
remove_level_id_column_from_users_table.php
the level_id column is removed and the code throws an errorSQLSTATE[42S22]: Column not found: 1054 Unknown column 'level_id' in 'SET' (Connection: mariadb, SQL: update `users` set `level_id` = 10, `users`.`updated_at` = 2025-05-07 16:19:38 where `id` = 1)
Seedery popisuji níže.
Level Seeder
User seeder
Beta Was this translation helpful? Give feedback.
All reactions