Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class DatabaseSeeder extends Seeder {
- /**
- * Run the database seeds.
- *
- * @return void
- */
- public function run()
- {
- $this->call('UserTableSeeder');
- }
- }
- class UserTableSeeder extends Seeder {
- public function run()
- {
- $password = 'ovS2lw5xRLkz';
- $encrypted = Crypt::encrypt($password);
- return array(
- array(
- 'username' => 'admin',
- 'password' => $encrypted
- )
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement