Skip to content

Commit

Permalink
Add seeds
Browse files Browse the repository at this point in the history
  • Loading branch information
nekiro committed Dec 8, 2024
1 parent a92b8de commit 46e34db
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/prisma/seeds/accounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ const seed = async () => {
email: "[email protected]",
type: 5,
},
{
name: "admin",
password: "d033e22ae348aeb5660fc2140aec35850c4da997", // admin
email: "[email protected]",
type: 5,
},
],
});
};
Expand Down
10 changes: 10 additions & 0 deletions src/prisma/seeds/news.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ const seed = async () => {
authorId: null,
content: "Welcome to shibaac, this is a live preview of current state of the AAC.",
},
{
title: "Second News",
authorId: null,
content: "This is the second news for testing",
},
{
title: "News 3",
authorId: null,
content: "xD",
},
],
});
};
Expand Down

0 comments on commit 46e34db

Please sign in to comment.