1: <?php namespace Laravella\Crud;
2:
3: use Laravella\Crud\Log;
4: use \Seeder;
5: use \DB;
6: use \Config;
7:
8: class SeedViews extends CrudSeeder {
9:
10: public function run()
11: {
12:
13: $skin = Config::get('app.skin'); //"flatly";
14:
15: DB::table('_db_views')->delete();
16:
17: $this->addView("skins::$skin.dbview");
18: $this->addView("skins::$skin.frontview");
19:
20: $this->populateTableActions(true);
21:
22: }
23:
24: }
25: ?>