Added Teen Core Club. Changed network to entity in GraphQL query.
This commit is contained in:
@@ -120,6 +120,7 @@ const networks = [
|
||||
slug: 'boobpedia',
|
||||
name: 'Boobpedia',
|
||||
url: 'https://www.boobpedia.com',
|
||||
type: 4,
|
||||
},
|
||||
{
|
||||
slug: 'burningangel',
|
||||
@@ -141,6 +142,7 @@ const networks = [
|
||||
slug: 'freeones',
|
||||
name: 'FreeOnes',
|
||||
url: 'https://www.freeones.com',
|
||||
type: 4,
|
||||
},
|
||||
{
|
||||
slug: 'ddfnetwork',
|
||||
@@ -386,6 +388,11 @@ const networks = [
|
||||
url: 'https://www.teamskeet.com',
|
||||
description: 'Welcome to teamskeet.com, the largest collection of exclusive teen porn sites and videos on the web. Check out our TeamSkeet porn sites now.',
|
||||
},
|
||||
{
|
||||
slug: 'teencoreclub',
|
||||
name: 'https://teencoreclub.com',
|
||||
url: 'https://www.twistys.com',
|
||||
},
|
||||
{
|
||||
slug: 'twistys',
|
||||
name: 'Twistys',
|
||||
@@ -436,6 +443,7 @@ exports.seed = knex => Promise.resolve()
|
||||
const networksWithParent = networks.map(network => ({
|
||||
slug: network.slug,
|
||||
name: network.name,
|
||||
type: network.type || 1,
|
||||
alias: (network.alias || []).join(','),
|
||||
url: network.url,
|
||||
description: network.description,
|
||||
@@ -443,5 +451,5 @@ exports.seed = knex => Promise.resolve()
|
||||
parent_id: parentNetworksBySlug[network.parent] || null,
|
||||
}));
|
||||
|
||||
return upsert('entities', networksWithParent, 'slug', knex);
|
||||
return upsert('entities', networksWithParent, ['slug', 'type'], knex);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user