Skip to content

Commit

Permalink
Merge pull request #112 from fac30/chore/remove-database-seed
Browse files Browse the repository at this point in the history
Chore/remove database seed
  • Loading branch information
jackcasstlesjones authored Dec 19, 2024
2 parents a3d6412 + 0f3e319 commit de00eb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/db/DatabaseManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import needsSchema from "./schemas/categoriesSchema.json";
import nextActionsSchema from "./schemas/categoriesSchema.json";
import { categories, toolkit } from "./seed/toolkit";
import { needsCategories, needs, nextActions } from "./seed/needs";
import generateMoodRecords from "./seed/moods";
// import generateMoodRecords from "./seed/moods";
import { RxDBUpdatePlugin } from "rxdb/plugins/update";

addRxPlugin(RxDBUpdatePlugin);
Expand Down Expand Up @@ -81,7 +81,7 @@ class DatabaseManager {
(await dbInstance.collections["needs"].find().exec()).length === 0
) {
try {
await this.seed("mood_records", generateMoodRecords("dev"));
// await this.seed("mood_records", generateMoodRecords("dev"));
await this.seed("categories", categories);
await this.seed("toolkit_items", toolkit);
await this.seed("needs_categories", needsCategories);
Expand Down

0 comments on commit de00eb0

Please sign in to comment.