mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
change new install category sort
This commit is contained in:
@@ -14,103 +14,103 @@ class CategoriesTableSeeder extends Seeder
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
|
||||
|
||||
\DB::table('categories')->delete();
|
||||
|
||||
|
||||
\DB::table('categories')->insert(array (
|
||||
0 =>
|
||||
0 =>
|
||||
array (
|
||||
'id' => 401,
|
||||
'mode' => 4,
|
||||
'class_name' => 'c_movies',
|
||||
'name' => 'Movies',
|
||||
'image' => 'catsprites.png',
|
||||
'sort_index' => 0,
|
||||
'sort_index' => 8,
|
||||
'icon_id' => 1,
|
||||
),
|
||||
1 =>
|
||||
1 =>
|
||||
array (
|
||||
'id' => 402,
|
||||
'mode' => 4,
|
||||
'class_name' => 'c_tvseries',
|
||||
'name' => 'TV Series',
|
||||
'image' => 'catsprites.png',
|
||||
'sort_index' => 3,
|
||||
'sort_index' => 7,
|
||||
'icon_id' => 1,
|
||||
),
|
||||
2 =>
|
||||
2 =>
|
||||
array (
|
||||
'id' => 403,
|
||||
'mode' => 4,
|
||||
'class_name' => 'c_tvshows',
|
||||
'name' => 'TV Shows',
|
||||
'image' => 'catsprites.png',
|
||||
'sort_index' => 4,
|
||||
'sort_index' => 6,
|
||||
'icon_id' => 1,
|
||||
),
|
||||
3 =>
|
||||
3 =>
|
||||
array (
|
||||
'id' => 404,
|
||||
'mode' => 4,
|
||||
'class_name' => 'c_doc',
|
||||
'name' => 'Documentaries',
|
||||
'image' => 'catsprites.png',
|
||||
'sort_index' => 1,
|
||||
'sort_index' => 5,
|
||||
'icon_id' => 1,
|
||||
),
|
||||
4 =>
|
||||
4 =>
|
||||
array (
|
||||
'id' => 405,
|
||||
'mode' => 4,
|
||||
'class_name' => 'c_anime',
|
||||
'name' => 'Animations',
|
||||
'image' => 'catsprites.png',
|
||||
'sort_index' => 2,
|
||||
'sort_index' => 4,
|
||||
'icon_id' => 1,
|
||||
),
|
||||
5 =>
|
||||
5 =>
|
||||
array (
|
||||
'id' => 406,
|
||||
'mode' => 4,
|
||||
'class_name' => 'c_mv',
|
||||
'name' => 'Music Videos',
|
||||
'image' => 'catsprites.png',
|
||||
'sort_index' => 5,
|
||||
'sort_index' => 3,
|
||||
'icon_id' => 1,
|
||||
),
|
||||
6 =>
|
||||
6 =>
|
||||
array (
|
||||
'id' => 407,
|
||||
'mode' => 4,
|
||||
'class_name' => 'c_sports',
|
||||
'name' => 'Sports',
|
||||
'image' => 'catsprites.png',
|
||||
'sort_index' => 6,
|
||||
'sort_index' => 2,
|
||||
'icon_id' => 1,
|
||||
),
|
||||
7 =>
|
||||
7 =>
|
||||
array (
|
||||
'id' => 408,
|
||||
'mode' => 4,
|
||||
'class_name' => 'c_hqaudio',
|
||||
'name' => 'HQ Audio',
|
||||
'image' => 'catsprites.png',
|
||||
'sort_index' => 8,
|
||||
'sort_index' => 1,
|
||||
'icon_id' => 1,
|
||||
),
|
||||
8 =>
|
||||
8 =>
|
||||
array (
|
||||
'id' => 409,
|
||||
'mode' => 4,
|
||||
'class_name' => 'c_misc',
|
||||
'name' => 'Misc',
|
||||
'image' => 'catsprites.png',
|
||||
'sort_index' => 7,
|
||||
'sort_index' => 0,
|
||||
'icon_id' => 1,
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user