Skip to content

Commit

Permalink
fix: import Round in storage entity
Browse files Browse the repository at this point in the history
  • Loading branch information
deanpress committed Jan 27, 2020
1 parent ac0467b commit f70c806
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const qp = queue();
qp.concurrency = 1;

// Entities
import { Statistic } from "./entities";
import { Statistic, Round } from "./entities";

// Core plugins

Expand Down Expand Up @@ -41,7 +41,7 @@ export const plugin: Container.IPluginDescriptor = {
type: "sqlite",
database: dbPath,
// Import entities to connection
entities: [Statistic],
entities: [Statistic, Round],
synchronize: true,
});

Expand Down

0 comments on commit f70c806

Please sign in to comment.