Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
workbiu-admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gxx
workbiu-admin
Commits
e3665832
Commit
e3665832
authored
Dec 12, 2017
by
mengyixi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-master' of 120.27.221.179:gxx123/workbiu-admin into dev-master
parents
af6b63e4
3ad50e29
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
142 additions
and
0 deletions
+142
-0
DatabaseSeeder.php
database/seeds/DatabaseSeeder.php
+1
-0
GroupsTableSeeder.php
database/seeds/GroupsTableSeeder.php
+141
-0
No files found.
database/seeds/DatabaseSeeder.php
View file @
e3665832
...
...
@@ -19,5 +19,6 @@ class DatabaseSeeder extends Seeder
$this
->
call
(
RoleAdminsTableSeeder
::
class
);
$this
->
call
(
PermissionRoleTableSeeder
::
class
);
$this
->
call
(
SmsTableSeeder
::
class
);
$this
->
call
(
GroupsTableSeeder
::
class
);
}
}
database/seeds/GroupsTableSeeder.php
0 → 100644
View file @
e3665832
<?php
use
Illuminate\Database\Seeder
;
class
GroupsTableSeeder
extends
Seeder
{
/**
* Auto generated seed file
*
* @return void
*/
public
function
run
()
{
\DB
::
table
(
'groups'
)
->
delete
();
\DB
::
table
(
'groups'
)
->
insert
(
array
(
0
=>
array
(
'id'
=>
113
,
'owner_id'
=>
3
,
'creator_id'
=>
3
,
'name'
=>
'x'
,
'brief'
=>
'asd'
,
'logo'
=>
'http://120.27.221.179/uploads/user/avatar/11/avatar.png'
,
'status'
=>
0
,
'deleted_at'
=>
NULL
,
'created_at'
=>
'2017-12-07 16:14:08'
,
'updated_at'
=>
'2017-12-07 16:14:08'
,
),
1
=>
array
(
'id'
=>
114
,
'owner_id'
=>
3
,
'creator_id'
=>
3
,
'name'
=>
'aaa'
,
'brief'
=>
'bbbb'
,
'logo'
=>
'http://120.27.221.179/uploads/user/avatar/11/avatar.png'
,
'status'
=>
0
,
'deleted_at'
=>
NULL
,
'created_at'
=>
'2017-12-07 18:21:56'
,
'updated_at'
=>
'2017-12-07 18:21:56'
,
),
2
=>
array
(
'id'
=>
115
,
'owner_id'
=>
3
,
'creator_id'
=>
3
,
'name'
=>
'aaa'
,
'brief'
=>
'bbb'
,
'logo'
=>
'http://120.27.221.179/uploads/user/avatar/11/avatar.png'
,
'status'
=>
0
,
'deleted_at'
=>
NULL
,
'created_at'
=>
'2017-12-07 18:22:27'
,
'updated_at'
=>
'2017-12-07 18:22:27'
,
),
3
=>
array
(
'id'
=>
116
,
'owner_id'
=>
6
,
'creator_id'
=>
6
,
'name'
=>
'测试团队'
,
'brief'
=>
'测试团队描述'
,
'logo'
=>
'http://120.27.221.179/uploads/user/avatar/11/avatar.png'
,
'status'
=>
0
,
'deleted_at'
=>
NULL
,
'created_at'
=>
'2017-12-07 21:56:45'
,
'updated_at'
=>
'2017-12-07 21:56:45'
,
),
4
=>
array
(
'id'
=>
117
,
'owner_id'
=>
3
,
'creator_id'
=>
3
,
'name'
=>
'图片地址'
,
'brief'
=>
'http://120.27.221.179/uploads/user/avatar/11/avatar.png'
,
'logo'
=>
'http://120.27.221.179/uploads/user/avatar/11/avatar.png'
,
'status'
=>
0
,
'deleted_at'
=>
NULL
,
'created_at'
=>
'2017-12-07 23:03:30'
,
'updated_at'
=>
'2017-12-07 23:03:30'
,
),
5
=>
array
(
'id'
=>
118
,
'owner_id'
=>
3
,
'creator_id'
=>
3
,
'name'
=>
'续保cv'
,
'brief'
=>
'才VB'
,
'logo'
=>
'http://120.27.221.179/uploads/user/avatar/11/avatar.png'
,
'status'
=>
0
,
'deleted_at'
=>
NULL
,
'created_at'
=>
'2017-12-08 13:13:44'
,
'updated_at'
=>
'2017-12-08 13:13:44'
,
),
6
=>
array
(
'id'
=>
119
,
'owner_id'
=>
3
,
'creator_id'
=>
3
,
'name'
=>
'地方个'
,
'brief'
=>
'df'
,
'logo'
=>
'http://120.27.221.179/uploads/user/avatar/11/avatar.png'
,
'status'
=>
0
,
'deleted_at'
=>
NULL
,
'created_at'
=>
'2017-12-08 13:44:40'
,
'updated_at'
=>
'2017-12-08 13:44:40'
,
),
7
=>
array
(
'id'
=>
120
,
'owner_id'
=>
3
,
'creator_id'
=>
3
,
'name'
=>
'文件测试团队'
,
'brief'
=>
'一个小测试'
,
'logo'
=>
'storage/2017-12-12/5a2f6b1d797b5.jpg'
,
'status'
=>
0
,
'deleted_at'
=>
NULL
,
'created_at'
=>
'2017-12-08 22:02:31'
,
'updated_at'
=>
'2017-12-12 13:37:33'
,
),
8
=>
array
(
'id'
=>
121
,
'owner_id'
=>
3
,
'creator_id'
=>
3
,
'name'
=>
'有图片的团队'
,
'brief'
=>
'介绍'
,
'logo'
=>
'http://120.27.221.179/uploads/user/avatar/11/avatar.png'
,
'status'
=>
0
,
'deleted_at'
=>
NULL
,
'created_at'
=>
'2017-12-09 20:03:44'
,
'updated_at'
=>
'2017-12-09 20:03:44'
,
),
));
}
}
\ No newline at end of file
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