@social-mail/social-mail-web-server 1.4.968 → 1.4.970

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-web-server",
3
- "version": "1.4.968",
3
+ "version": "1.4.970",
4
4
  "description": "## Phase 1",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -3,7 +3,7 @@ import semver from "semver";
3
3
 
4
4
  export default async function seedUI(config: DBConfig) {
5
5
 
6
- const version = "1.2.453";
6
+ const version = "1.2.454";
7
7
 
8
8
  const existing = await config.getValue(UIPackageConfig, false);
9
9
  if (existing) {
@@ -97,7 +97,8 @@ export default class DbStorage extends BaseStorage {
97
97
  const db = scope.create(DbStorageContext);
98
98
  scope.add(DbStorageContext, db);
99
99
  if (!seeded) {
100
- await db.connection.automaticMigrations().migrate(db);
100
+ await db.connection.ensureDatabase();
101
+ await db.connection.automaticMigrations().migrate(db, { name: "db-storage" });
101
102
  seeded = true;
102
103
  }
103
104
  return scope;