Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
UserAdminV2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
庄欣
UserAdminV2
Commits
6c40ce69
Commit
6c40ce69
authored
Feb 07, 2013
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setup seeder.
parent
ce0a7f65
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
0 deletions
+19
-0
app/config/app.php
+1
-0
app/database/seeds/DatabaseSeeder.php
+16
-0
app/start/global.php
+1
-0
composer.json
+1
-0
No files found.
app/config/app.php
View file @
6c40ce69
...
...
@@ -167,6 +167,7 @@ return array(
'Response'
=>
'Illuminate\Support\Facades\Response'
,
'Route'
=>
'Illuminate\Support\Facades\Route'
,
'Schema'
=>
'Illuminate\Support\Facades\Schema'
,
'Seeder'
=>
'Illuminate\Database\Seeder'
,
'Session'
=>
'Illuminate\Support\Facades\Session'
,
'URL'
=>
'Illuminate\Support\Facades\URL'
,
'Validator'
=>
'Illuminate\Support\Facades\Validator'
,
...
...
app/database/seeds/DatabaseSeeder.php
0 → 100644
View file @
6c40ce69
<?php
class
DatabaseSeeder
extends
Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public
function
run
()
{
// $this->call('UserTableSeeder');
}
}
\ No newline at end of file
app/start/global.php
View file @
6c40ce69
...
...
@@ -15,6 +15,7 @@ ClassLoader::addDirectories(array(
app_path
()
.
'/controllers'
,
app_path
()
.
'/models'
,
app_path
()
.
'/database/seeds'
,
));
...
...
composer.json
View file @
6c40ce69
...
...
@@ -8,6 +8,7 @@
"app/controllers"
,
"app/models"
,
"app/database/migrations"
,
"app/database/seeds"
,
"app/tests/TestCase.php"
]
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment