class

CrystalCommunity::Seeders::FakeUserGenerator

Inherits Reference / Object

Constants

DEFAULT_COUNT = 100

Instance methods

run(count : Int32 = DEFAULT_COUNT)

Generate a number of fake users and insert them into the database. Uses the CrystalCommunity::DB::User model and the Faker shard.

Source