Skip to content

Commit

Permalink
ensure bonus discounts work on a fresh install
Browse files Browse the repository at this point in the history
  • Loading branch information
Spine authored and itismadness committed Aug 15, 2021
1 parent 2a52175 commit 72c4feb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions db/seeds/BonusDiscount.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

use Phinx\Seed\AbstractSeed;

class BonusDiscount extends AbstractSeed
{
public function run()
{
$this->table('site_options')->insert([
'Name' => 'bonus-discount',
'Value' => 0,
'Comment' => 'Bonus store discount (0 = no discount, 100 = everything free)',
])->save();

}
}

0 comments on commit 72c4feb

Please sign in to comment.