createTable('apple_payments', [ 'id' => $this->primaryKey(), 'tm' => $this->date(), 'sum' => $this->decimal(24, 4), 'amount' => $this->decimal(24, 4), 'refund' => $this->decimal(24, 4) ]); } /** * @inheritdoc */ public function down() { $this->dropTable('apple'); } }