[ 'type' => 'TINYINT', 'constraint' => 1, 'default' => 0, 'after' => 'charged', ], ]; if (! $this->db->fieldExists('waiver_signed', 'event_charges')) { $this->forge->addColumn('event_charges', $fields); } } public function down() { if ($this->db->fieldExists('waiver_signed', 'event_charges')) { $this->forge->dropColumn('event_charges', 'waiver_signed'); } } }