Added groups to database populate
This commit is contained in:
parent
954089fbe5
commit
2ac3fcf5fb
@ -20,6 +20,10 @@ function populate(db) {
|
||||
db.table("states").bulkAdd(mapStates);
|
||||
const tokens = getDefaultTokens(userId);
|
||||
db.table("tokens").bulkAdd(tokens);
|
||||
db.table("groups").bulkAdd([
|
||||
{ id: "maps", data: maps.map((map) => map.id) },
|
||||
{ id: "tokens", data: tokens.map((token) => token.id) },
|
||||
]);
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user