/** * @param array $attributes */ public function __construct(array $attributes = array()) { parent::__construct($attributes); // set the table name $this->table = Reader::getTableName(); }
/** * Reverse the migrations. * * @return void */ public function down() { $sTable = Reader::getTableName(); Schema::dropIfExists($sTable); }