/** * Run the migrations. * * @return void */ public function up() { $response = \Syscover\Pulsar\Models\Resource::find('market-tpv-paypal-web-profile'); if ($response == null) { \Syscover\Pulsar\Models\Resource::create(['id_007' => 'market-tpv-paypal-web-profile', 'name_007' => 'TPVs -- PayPal -- Web profile', 'package_id_007' => '12']); } }
/** * Run the migrations. * * @return void */ public function up() { $response = \Syscover\Pulsar\Models\Resource::find('admin-report'); if ($response == null) { \Syscover\Pulsar\Models\Resource::create(['id_007' => 'admin-report', 'name_007' => 'Reports', 'package_id_007' => '2']); } }