Moved Dogfart to DFXtra.
This commit is contained in:
@@ -2932,7 +2932,13 @@ const sites = [
|
||||
tags: ['parody'],
|
||||
parent: 'digitalplayground',
|
||||
},
|
||||
// DOGFART NETWORK
|
||||
// DFXTRA DOGFART NETWORK
|
||||
{
|
||||
slug: 'dfxtraoriginals',
|
||||
name: 'DFXtra Originals',
|
||||
url: 'https://www.dfxtra.com',
|
||||
parent: 'dogfartnetwork',
|
||||
},
|
||||
{
|
||||
slug: 'blacksonblondes',
|
||||
name: 'Blacks On Blondes',
|
||||
@@ -2966,7 +2972,7 @@ const sites = [
|
||||
url: 'https://www.wefuckblackgirls.com',
|
||||
parent: 'dogfartnetwork',
|
||||
parameters: {
|
||||
latest: 'https://www.dogfartnetwork.com/tour/sites/WeFuckBlackGirls',
|
||||
latest: 'https://www.dfxtra.com/tour/sites/WeFuckBlackGirls',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -2993,7 +2999,7 @@ const sites = [
|
||||
url: 'https://www.interracialpickups.com',
|
||||
parent: 'dogfartnetwork',
|
||||
parameters: {
|
||||
latest: 'https://www.dogfartnetwork.com/tour/sites/InterracialPickups',
|
||||
latest: 'https://www.dfxtra.com/tour/sites/InterracialPickups',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -3079,7 +3085,7 @@ const sites = [
|
||||
parent: 'dogfartnetwork',
|
||||
tags: ['gay'],
|
||||
parameters: {
|
||||
latest: 'https://www.dogfartnetwork.com/tour/sites/BlacksOnBoys',
|
||||
latest: 'https://www.dfxtra.com/tour/sites/BlacksOnBoys',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -3089,7 +3095,7 @@ const sites = [
|
||||
parent: 'dogfartnetwork',
|
||||
tags: ['gay'],
|
||||
parameters: {
|
||||
latest: 'https://www.dogfartnetwork.com/tour/sites/GloryholesAndHandjobs',
|
||||
latest: 'https://www.dfxtra.com/tour/sites/GloryholesAndHandjobs',
|
||||
},
|
||||
},
|
||||
// DORCEL
|
||||
@@ -11702,6 +11708,19 @@ const sites = [
|
||||
/* eslint-disable max-len */
|
||||
exports.seed = (knex) => Promise.resolve()
|
||||
.then(async () => {
|
||||
await Promise.all(sites.map(async (channel) => {
|
||||
if (channel.rename) {
|
||||
return knex('entities')
|
||||
.where({
|
||||
type: channel.type || 'channel',
|
||||
slug: channel.rename,
|
||||
})
|
||||
.update('slug', channel.slug);
|
||||
}
|
||||
|
||||
return null;
|
||||
}).filter(Boolean));
|
||||
|
||||
const networks = await knex('entities')
|
||||
.where('type', 'network')
|
||||
.orWhereNull('parent_id');
|
||||
|
||||
Reference in New Issue
Block a user