Is it possible to add a slug in the user table, if it's possible, then how do?
I try to do it as usual, but it does not work with the table user
class User extends Model{
use \October\Rain\Database\Traits\Sluggable;
protected $slugs = ['slug' => 'name'];
}
I add the slug field in the user table, but it's still null
thank you in advance
It will be little lengthy but No problem We will Solve it :)
usertable and start using it and we are done.UserExtensionin database [ obvious with new plugin ] and add dynamic relation shiponeToOneto user table to this table and then save all new data to this table using relation.backend formsto show that field [saving data will work automatically]You will see your shiny new
slugfield which can automatically filled from thename[ you can change it from preset config ]if you get any problem or doubts please comment.