Update DatabaseInitializer.php
This commit is contained in:
@@ -58,6 +58,10 @@ class DatabaseInitializer {
|
|||||||
);
|
);
|
||||||
");
|
");
|
||||||
|
|
||||||
|
$initializer = new self();
|
||||||
|
$availableEmails = $initializer->seedDummyUsers($db);
|
||||||
|
$initializer->seedDummyArticles($db, $availableEmails);
|
||||||
|
|
||||||
} catch (PDOException $e) {
|
} catch (PDOException $e) {
|
||||||
throw new RuntimeException("internal-error");
|
throw new RuntimeException("internal-error");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user