From dc648c0f458a99494309e3fced81d598d9e624ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Budziak?= Date: Fri, 18 Feb 2022 09:25:37 +0100 Subject: [PATCH] Pass billing_address when seeding database --- includes/Install/DatabaseMigration.php | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/includes/Install/DatabaseMigration.php b/includes/Install/DatabaseMigration.php index d358e645a..b18e344cf 100644 --- a/includes/Install/DatabaseMigration.php +++ b/includes/Install/DatabaseMigration.php @@ -73,8 +73,18 @@ public function seedInitialData( $this->db ->statement( - "INSERT INTO `ss_users` " . - "SET `username` = ?, `email` = ?, `password` = ?, `salt` = ?, `regip` = ?, `groups` = '2', `regdate` = NOW();" + <<execute([ $adminUsername,