Commit 5af73f92 authored by Michael Iseard's avatar Michael Iseard
Browse files

Update activator service

parent 61e73967
......@@ -50,6 +50,8 @@ class ActivatorService {
Settings::update_setting( 'show_intro', 1 );
// Apply mode to Donors
$donor_table = DonorEntity::get_table_name();
$wpdb->query("ALTER TABLE $donor_table ADD `mode` VARCHAR(45) NOT NULL");
$mapper = new MapperService( DonorEntity::class );
$donors = $mapper->get_all_by();
/** @var DonorEntity $donor */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment