public function run() { Eloquent::unguard(); #DB::table('page_categories')->delete(); PageCategory::create(array('id' => 1, 'name' => 'Páginas', 'type' => PageCategory::PAGE, 'created_at' => new DateTime(), 'updated_at' => new DateTime())); }
public function run() { Eloquent::unguard(); PageCategory::create(array('name' => 'Portifólio', 'type' => PageCategory::PORTFOLIO, 'created_at' => new DateTime(), 'updated_at' => new DateTime())); }
public function run() { Eloquent::unguard(); PageCategory::create(array('name' => 'Notícias', 'type' => PageCategory::NEWS, 'created_at' => new DateTime(), 'updated_at' => new DateTime())); }