File tree 3 files changed +10
-3
lines changed
3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ APP_DEBUG=true
4
4
APP_LOG_LEVEL = debug
5
5
APP_URL = http://localhost
6
6
7
- DB_CONNECTION = mysql
7
+ DB_CONNECTION = sqlite
8
8
DB_HOST = 127.0.0.1
9
9
DB_PORT = 3306
10
- DB_DATABASE = homestead
10
+ # DB_DATABASE=homestead
11
11
DB_USERNAME = homestead
12
12
DB_PASSWORD = secret
13
13
Original file line number Diff line number Diff line change 8
8
composer install
9
9
php artisan vendor:publish --tag=lfm_public
10
10
php artisan vendor:publish --tag=lfm_config
11
+ touch database/database.sqlite
12
+ php artisan migrate
13
+ php artisan db:seed
11
14
12
15
test :
13
16
@echo " PSR-2 Testing"
Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ class DatabaseSeeder extends Seeder
11
11
*/
12
12
public function run ()
13
13
{
14
- // $this->call(UsersTableSeeder::class);
14
+ \App \User::create ([
15
+ 'name ' => 'root ' ,
16
+ 'email ' => 'root@example.com ' ,
17
+ 'password ' => \Hash::make ('root ' )
18
+ ]);
15
19
}
16
20
}
You can’t perform that action at this time.
0 commit comments