Skip to content

Commit

Permalink
Pass billing_address when seeding database
Browse files Browse the repository at this point in the history
  • Loading branch information
budziam committed Feb 18, 2022
1 parent aa95c20 commit dc648c0
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions includes/Install/DatabaseMigration.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,18 @@ public function seedInitialData(

$this->db
->statement(
"INSERT INTO `ss_users` " .
"SET `username` = ?, `email` = ?, `password` = ?, `salt` = ?, `regip` = ?, `groups` = '2', `regdate` = NOW();"
<<<EOF
INSERT INTO `ss_users`
SET
`username` = ?,
`email` = ?,
`password` = ?,
`salt` = ?,
`regip` = ?,
`groups` = '2',
`regdate` = NOW(),
`billing_address` = '{}'
EOF
)
->execute([
$adminUsername,
Expand Down

0 comments on commit dc648c0

Please sign in to comment.