1: <?php namespace Laravella\Crud;
2:
3: use Laravella\Crud\Log;
4: use \Seeder;
5: use \DB;
6:
7: class CrudDatabaseSeeder extends Seeder {
8:
9: public function run()
10: {
11: 12: 13: 14:
15:
16: $this->call('Laravella\Crud\SeedUsergroups');
17: Log::write("success", "Populated usergroups");
18:
19: $this->call('Laravella\Crud\SeedUsers');
20: Log::write("success", "Populated users");
21:
22: $this->call('Laravella\Crud\SeedMenus');
23: Log::write("success", "Populated _db_menus");
24:
25: $this->call('Laravella\Crud\SeedOptions');
26: Log::write("success", "Populated _db_options");
27:
28: $this->call('Laravella\Crud\SeedSeverities');
29: Log::write("success", "Populated severities");
30:
31: $this->call('Laravella\Crud\SeedPageTypes');
32: Log::write("success", "Populated page types in to _db_option_types");
33:
34: $this->call('Laravella\Crud\SeedTables');
35: Log::write("success", "Populated _db_tables and _db_fields");
36:
37: $this->call('Laravella\Crud\SeedActions');
38: Log::write("success", "Populated _db_actions");
39:
40: $this->call('Laravella\Crud\SeedObjects');
41: Log::write("success", "Populated _db_objects");
42:
43: $this->call('Laravella\Crud\SeedViews');
44: Log::write("success", "Populated _db_views");
45:
46: $this->call('Laravella\Crud\SeedKeyTypes');
47: Log::write("success", "Populated _db_key_types");
48:
49: $this->call('Laravella\Crud\UpdateReferences');
50: Log::write("success", "References seeded");
51:
52: $this->call('Laravella\Crud\UpdateCMSFields');
53: Log::write("success", "CMS Fields updates");
54:
55: $this->call('Laravella\Crud\SeedAssets');
56: Log::write("success", "Assets seeded");
57:
58: $this->call('Laravella\Crud\PostCrudSeeder');
59: Log::write("success", "Crud PostCrudSeeder ran");
60:
61: }
62:
63: }
64: ?>