better test data
This commit is contained in:
parent
1319d147a5
commit
e007272efa
@ -8,10 +8,59 @@ export async function seed(knex: Knex): Promise<void> {
|
||||
|
||||
// Inserts seed entries
|
||||
await knex(TABLE).insert([
|
||||
{ name: "My First Subscription", url: "https://bbci.co.uk/feeds/news.xml", guild_id: "899773845223927878", active: true },
|
||||
{ name: "My Second Sub", url: "https://bbci.co.uk/feeds/news.xml", guild_id: "899773845223927878", active: true },
|
||||
{ name: "My Third Sub", url: "https://bbci.co.uk/feeds/news.xml", guild_id: "1204426362794811453", active: true },
|
||||
{ name: "My Fourth Sub", url: "https://bbci.co.uk/feeds/news.xml", guild_id: "899773845223927878", active: true },
|
||||
{ name: "My Fith Sub", url: "https://bbci.co.uk/feeds/news.xml", guild_id: "1204426362794811453", active: true },
|
||||
{
|
||||
name: "BBC News · Home",
|
||||
url: "http://feeds.bbci.co.uk/news/rss.xml",
|
||||
guild_id: "1204426362794811453",
|
||||
active: true
|
||||
},
|
||||
{
|
||||
name: "BBC News · World",
|
||||
url: "http://feeds.bbci.co.uk/news/world/rss.xml",
|
||||
guild_id: "1204426362794811453",
|
||||
active: false
|
||||
},
|
||||
{
|
||||
name: "BBC News · Entertainment",
|
||||
url: "http://feeds.bbci.co.uk/news/entertainment_and_arts/rss.xml",
|
||||
guild_id: "1204426362794811453",
|
||||
active: true
|
||||
},
|
||||
{
|
||||
name: "BBC News · Technology",
|
||||
url: "https://feeds.bbci.co.uk/news/technology/rss.xml",
|
||||
guild_id: "1204426362794811453",
|
||||
active: true
|
||||
},
|
||||
{
|
||||
name: "BBC News · Science & Environment",
|
||||
url: "https://feeds.bbci.co.uk/news/science_and_environment/rss.xml",
|
||||
guild_id: "1204426362794811453",
|
||||
active: false
|
||||
},
|
||||
{
|
||||
name: "BBC News · Health",
|
||||
url: "https://feeds.bbci.co.uk/news/health/rss.xml",
|
||||
guild_id: "1204426362794811453",
|
||||
active: true
|
||||
},
|
||||
{
|
||||
name: "BBC News · Politics",
|
||||
url: "https://feeds.bbci.co.uk/news/politics/rss.xml",
|
||||
guild_id: "1204426362794811453",
|
||||
active: false
|
||||
},
|
||||
{
|
||||
name: "BBC News · US & Canada",
|
||||
url: "https://feeds.bbci.co.uk/news/world/us_and_canada/rss.xml",
|
||||
guild_id: "1204426362794811453",
|
||||
active: false
|
||||
},
|
||||
{
|
||||
name: "TechRadar · Phones",
|
||||
url: "https://www.techradar.com/uk/feeds/tag/phones",
|
||||
guild_id: "1204426362794811453",
|
||||
active: true
|
||||
},
|
||||
]);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user