Commit 6c40ce69 authored by Taylor Otwell's avatar Taylor Otwell

setup seeder.

parent ce0a7f65
...@@ -167,6 +167,7 @@ return array( ...@@ -167,6 +167,7 @@ return array(
'Response' => 'Illuminate\Support\Facades\Response', 'Response' => 'Illuminate\Support\Facades\Response',
'Route' => 'Illuminate\Support\Facades\Route', 'Route' => 'Illuminate\Support\Facades\Route',
'Schema' => 'Illuminate\Support\Facades\Schema', 'Schema' => 'Illuminate\Support\Facades\Schema',
'Seeder' => 'Illuminate\Database\Seeder',
'Session' => 'Illuminate\Support\Facades\Session', 'Session' => 'Illuminate\Support\Facades\Session',
'URL' => 'Illuminate\Support\Facades\URL', 'URL' => 'Illuminate\Support\Facades\URL',
'Validator' => 'Illuminate\Support\Facades\Validator', 'Validator' => 'Illuminate\Support\Facades\Validator',
......
<?php
class DatabaseSeeder extends Seeder {
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
// $this->call('UserTableSeeder');
}
}
\ No newline at end of file
...@@ -15,6 +15,7 @@ ClassLoader::addDirectories(array( ...@@ -15,6 +15,7 @@ ClassLoader::addDirectories(array(
app_path().'/controllers', app_path().'/controllers',
app_path().'/models', app_path().'/models',
app_path().'/database/seeds',
)); ));
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
"app/controllers", "app/controllers",
"app/models", "app/models",
"app/database/migrations", "app/database/migrations",
"app/database/seeds",
"app/tests/TestCase.php" "app/tests/TestCase.php"
] ]
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment