/** * Reverse the migrations. * * @return void */ public function down() { $pre = mw_prefix(); Schema::dropIfExists($pre . 'payments'); Schema::dropIfExists($pre . 'log'); Schema::dropIfExists($pre . 'card_info'); Schema::dropIfExists($pre . 'cards'); }
/** * Defines the prefix for the table. * @param array $attr */ public function __construct($attr = array()) { $this->table = mw_prefix() . $this->table; parent::__construct($attr); }