





















const db = require('../models');
const Users = db.users;






const Organizations = db.organizations;

const CreatorProfiles = db.creator_profiles;

const FanProfiles = db.fan_profiles;

const Follows = db.follows;

const ThemeProfiles = db.theme_profiles;

const ProfileStyles = db.profile_styles;

const DiscoveryItems = db.discovery_items;

const Streams = db.streams;

const Videos = db.videos;

const Comments = db.comments;

const Playlists = db.playlists;

const PlaylistItems = db.playlist_items;

const TipPages = db.tip_pages;

const Tips = db.tips;

const AlertProfiles = db.alert_profiles;

const Alerts = db.alerts;

const OverlayProfiles = db.overlay_profiles;

const WidgetCatalogItems = db.widget_catalog_items;

const OverlayWidgets = db.overlay_widgets;

const MerchStores = db.merch_stores;

const Products = db.products;

const ProductVariants = db.product_variants;

const Orders = db.orders;

const OrderItems = db.order_items;

const ShippingProfiles = db.shipping_profiles;

const PrivateMailboxes = db.private_mailboxes;

const Messages = db.messages;

const Reports = db.reports;

const DemoWallets = db.demo_wallets;

const WalletTransactions = db.wallet_transactions;







const OrganizationsData = [
    
    {
    
        
        
            
                "name": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                "name": "Grace Hopper",
            
        
    
    },
    
    {
    
        
        
            
                "name": "Alan Turing",
            
        
    
    },
    
    {
    
        
        
            
                "name": "Marie Curie",
            
        
    
    },
    
];



const CreatorProfilesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "handle": "@pixelraven",
            
        
    
        
        
            
                "creator_type": "vtuber",
            
        
    
        
        
            
                "is_verified": true,
            
        
    
        
        
            
                "is_adult_creator": true,
            
        
    
        
        
            
                "slogan": "Level up together.",
            
        
    
        
        
            
                "about": "Weekly live streams, tips, and creator collabs.",
            
        
    
        
        
            
                "business_email": "biz@pixelraven.example",
            
        
    
        
        
            
                "support_email": "support@pixelraven.example",
            
        
    
        
        
            
                "preferred_language": "en",
            
        
    
        
        
            
                "category_tags": "gaming,indie,education",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "handle": "@lunasynth",
            
        
    
        
        
            
                "creator_type": "adult_creator",
            
        
    
        
        
            
                "is_verified": true,
            
        
    
        
        
            
                "is_adult_creator": false,
            
        
    
        
        
            
                "slogan": "Synthwave nights.",
            
        
    
        
        
            
                "about": "Live music sets and studio breakdowns.",
            
        
    
        
        
            
                "business_email": "biz@lunasynth.example",
            
        
    
        
        
            
                "support_email": "support@lunasynth.example",
            
        
    
        
        
            
                "preferred_language": "en",
            
        
    
        
        
            
                "category_tags": "music,synthwave,live",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "handle": "@xpansion",
            
        
    
        
        
            
                "creator_type": "vtuber",
            
        
    
        
        
            
                "is_verified": true,
            
        
    
        
        
            
                "is_adult_creator": true,
            
        
    
        
        
            
                "slogan": "The Future of Gaming and Content Creation",
            
        
    
        
        
            
                "about": "Official platform updates, demos, and events.",
            
        
    
        
        
            
                "business_email": "press@xpansion.example",
            
        
    
        
        
            
                "support_email": "help@xpansion.example",
            
        
    
        
        
            
                "preferred_language": "en",
            
        
    
        
        
            
                "category_tags": "platform,updates,community",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "handle": "@neonops",
            
        
    
        
        
            
                "creator_type": "developer",
            
        
    
        
        
            
                "is_verified": true,
            
        
    
        
        
            
                "is_adult_creator": true,
            
        
    
        
        
            
                "slogan": "Keep it safe, keep it fun.",
            
        
    
        
        
            
                "about": "Safety guidelines and reporting help.",
            
        
    
        
        
            
                "business_email": "ops@xpansion.example",
            
        
    
        
        
            
                "support_email": "trust@xpansion.example",
            
        
    
        
        
            
                "preferred_language": "en",
            
        
    
        
        
            
                "category_tags": "safety,moderation,help",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const FanProfilesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "nickname": "Aria",
            
        
    
        
        
            
                "bio": "Always looking for new streams.",
            
        
    
        
        
            
                "hide_social_activity": true,
            
        
    
        
        
            
                "xp_coins_balance": 1200,
            
        
    
        
        
            
                "adult_mode_enabled": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "nickname": "OwnerAlt",
            
        
    
        
        
            
                "bio": "Testing fan flows and discovery.",
            
        
    
        
        
            
                "hide_social_activity": true,
            
        
    
        
        
            
                "xp_coins_balance": 500,
            
        
    
        
        
            
                "adult_mode_enabled": false,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "nickname": "SafetyTester",
            
        
    
        
        
            
                "bio": "Testing reports and messaging.",
            
        
    
        
        
            
                "hide_social_activity": true,
            
        
    
        
        
            
                "xp_coins_balance": 300,
            
        
    
        
        
            
                "adult_mode_enabled": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "nickname": "RavenFanMode",
            
        
    
        
        
            
                "bio": "Fan mode profile for playlists.",
            
        
    
        
        
            
                "hide_social_activity": false,
            
        
    
        
        
            
                "xp_coins_balance": 900,
            
        
    
        
        
            
                "adult_mode_enabled": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const FollowsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "followed_at": new Date('2026-02-20T14:10:00Z'),
            
        
    
        
        
            
                "notifications_enabled": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "followed_at": new Date('2026-02-21T09:05:00Z'),
            
        
    
        
        
            
                "notifications_enabled": false,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "followed_at": new Date('2026-02-22T16:22:00Z'),
            
        
    
        
        
            
                "notifications_enabled": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "followed_at": new Date('2026-02-22T18:10:00Z'),
            
        
    
        
        
            
                "notifications_enabled": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const ThemeProfilesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "mode": "auto_time",
            
        
    
        
        
            
                "theme_name": "Neon Midnight",
            
        
    
        
        
            
                "primary_color_hex": "#05060A",
            
        
    
        
        
            
                "accent_color_hex": "#00E5FF",
            
        
    
        
        
            
                "neon_glow_color_hex": "#B100FF",
            
        
    
        
        
            
                "rgb_cycle_enabled": true,
            
        
    
        
        
            
                "rgb_cycle_speed": 6,
            
        
    
        
        
            
                "holiday_palette": "diwali",
            
        
    
        
        
            
                "adult_palette_enabled": false,
            
        
    
        
        
            
                "adult_primary_color_hex": "#14020B",
            
        
    
        
        
            
                "adult_accent_color_hex": "#FF2D9B",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "mode": "auto_time",
            
        
    
        
        
            
                "theme_name": "Synth Blue",
            
        
    
        
        
            
                "primary_color_hex": "#060A12",
            
        
    
        
        
            
                "accent_color_hex": "#2AF2FF",
            
        
    
        
        
            
                "neon_glow_color_hex": "#6B4CFF",
            
        
    
        
        
            
                "rgb_cycle_enabled": true,
            
        
    
        
        
            
                "rgb_cycle_speed": 3,
            
        
    
        
        
            
                "holiday_palette": "ramadan",
            
        
    
        
        
            
                "adult_palette_enabled": true,
            
        
    
        
        
            
                "adult_primary_color_hex": "#14020B",
            
        
    
        
        
            
                "adult_accent_color_hex": "#FF2D9B",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "mode": "auto_time",
            
        
    
        
        
            
                "theme_name": "Holiday Auto",
            
        
    
        
        
            
                "primary_color_hex": "#05060A",
            
        
    
        
        
            
                "accent_color_hex": "#00FF85",
            
        
    
        
        
            
                "neon_glow_color_hex": "#FFD000",
            
        
    
        
        
            
                "rgb_cycle_enabled": true,
            
        
    
        
        
            
                "rgb_cycle_speed": 4,
            
        
    
        
        
            
                "holiday_palette": "valentines",
            
        
    
        
        
            
                "adult_palette_enabled": true,
            
        
    
        
        
            
                "adult_primary_color_hex": "#14020B",
            
        
    
        
        
            
                "adult_accent_color_hex": "#FF2D9B",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "mode": "holiday",
            
        
    
        
        
            
                "theme_name": "Ops Dark",
            
        
    
        
        
            
                "primary_color_hex": "#0B0F14",
            
        
    
        
        
            
                "accent_color_hex": "#00D1FF",
            
        
    
        
        
            
                "neon_glow_color_hex": "#00FF85",
            
        
    
        
        
            
                "rgb_cycle_enabled": true,
            
        
    
        
        
            
                "rgb_cycle_speed": 2,
            
        
    
        
        
            
                "holiday_palette": "thanksgiving",
            
        
    
        
        
            
                "adult_palette_enabled": false,
            
        
    
        
        
            
                "adult_primary_color_hex": "#14020B",
            
        
    
        
        
            
                "adult_accent_color_hex": "#FF2D9B",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const ProfileStylesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "style_name": "Raven Neon",
            
        
    
        
        
            
                "username_color_hex": "#00E5FF",
            
        
    
        
        
            
                "bio_font_family": "Inter",
            
        
    
        
        
            
                "panel_order_json": "[about,tips,merch,playlists]",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "profile_layout": "classic",
            
        
    
        
        
            
                "show_pronouns_badge": true,
            
        
    
        
        
            
                "pronouns_text": "they/them",
            
        
    
        
        
            
                "custom_css": "--panel-radius:16px; --glow:1;",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "style_name": "Studio Clean",
            
        
    
        
        
            
                "username_color_hex": "#2AF2FF",
            
        
    
        
        
            
                "bio_font_family": "Space Grotesk",
            
        
    
        
        
            
                "panel_order_json": "[about,playlists,tips,merch]",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "profile_layout": "streamer",
            
        
    
        
        
            
                "show_pronouns_badge": true,
            
        
    
        
        
            
                "pronouns_text": " ",
            
        
    
        
        
            
                "custom_css": "--panel-radius:14px; --glow:0.8;",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "style_name": "Official",
            
        
    
        
        
            
                "username_color_hex": "#FFD000",
            
        
    
        
        
            
                "bio_font_family": "Inter",
            
        
    
        
        
            
                "panel_order_json": "[about,updates,tips,merch]",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "profile_layout": "classic",
            
        
    
        
        
            
                "show_pronouns_badge": false,
            
        
    
        
        
            
                "pronouns_text": " ",
            
        
    
        
        
            
                "custom_css": "--panel-radius:12px; --glow:0.6;",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "style_name": "Safety Ops",
            
        
    
        
        
            
                "username_color_hex": "#00FF85",
            
        
    
        
        
            
                "bio_font_family": "Inter",
            
        
    
        
        
            
                "panel_order_json": "[about,reports,guidelines]",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "profile_layout": "minimal",
            
        
    
        
        
            
                "show_pronouns_badge": false,
            
        
    
        
        
            
                "pronouns_text": " ",
            
        
    
        
        
            
                "custom_css": "--panel-radius:10px; --glow:0.4;",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const DiscoveryItemsData = [
    
    {
    
        
        
            
                "item_type": "stream",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "title": "New and Rising: Pixel Raven",
            
        
    
        
        
            
                "subtitle": "Indie gaming and creator tips",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "score": 92.5,
            
        
    
        
        
            
                "status": "active",
            
        
    
        
        
            
                "published_at": new Date('2026-02-22T12:00:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                "item_type": "video",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "title": "Featured Music: Luna Synth",
            
        
    
        
        
            
                "subtitle": "Live synth sets and breakdowns",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "score": 88.1,
            
        
    
        
        
            
                "status": "draft",
            
        
    
        
        
            
                "published_at": new Date('2026-02-21T15:30:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                "item_type": "stream",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "title": "How to Stream with Clean Audio",
            
        
    
        
        
            
                "subtitle": "Settings that improve any mic",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "score": 85.0,
            
        
    
        
        
            
                "status": "active",
            
        
    
        
        
            
                "published_at": new Date('2026-02-20T20:00:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                "item_type": "video",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "title": "Late Night Jam Session",
            
        
    
        
        
            
                "subtitle": "Synthwave requests welcome",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "score": 81.2,
            
        
    
        
        
            
                "status": "draft",
            
        
    
        
        
            
                "published_at": new Date('2026-02-23T23:00:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const StreamsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "title": "Indie Spotlight Live",
            
        
    
        
        
            
                "description": "Trying new indie demos and chatting.",
            
        
    
        
        
            
                "category": "art",
            
        
    
        
        
            
                "is_live": true,
            
        
    
        
        
            
                "is_adult": true,
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "scheduled_start_at": new Date('2026-02-24T19:00:00Z'),
            
        
    
        
        
            
                "started_at": new Date('2026-02-24T19:05:00Z'),
            
        
    
        
        
            
                "ended_at": new Date('2026-02-24T21:00:00Z'),
            
        
    
        
        
            
                "viewer_count": 420,
            
        
    
        
        
            
                "stream_key_hint": "PRV-INDIE",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "title": "Studio Build: Synth Patch Design",
            
        
    
        
        
            
                "description": "Sound design walkthrough and Q and A.",
            
        
    
        
        
            
                "category": "art",
            
        
    
        
        
            
                "is_live": true,
            
        
    
        
        
            
                "is_adult": false,
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "scheduled_start_at": new Date('2026-02-25T02:00:00Z'),
            
        
    
        
        
            
                "started_at": new Date('2026-02-25T02:03:00Z'),
            
        
    
        
        
            
                "ended_at": new Date('2026-02-25T03:30:00Z'),
            
        
    
        
        
            
                "viewer_count": 210,
            
        
    
        
        
            
                "stream_key_hint": "LNS-PATCH",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "title": "Xpansion Roadmap Update",
            
        
    
        
        
            
                "description": "Platform updates and upcoming features.",
            
        
    
        
        
            
                "category": "music",
            
        
    
        
        
            
                "is_live": true,
            
        
    
        
        
            
                "is_adult": true,
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "scheduled_start_at": new Date('2026-02-26T18:00:00Z'),
            
        
    
        
        
            
                "started_at": new Date('2026-02-26T18:02:00Z'),
            
        
    
        
        
            
                "ended_at": new Date('2026-02-26T19:00:00Z'),
            
        
    
        
        
            
                "viewer_count": 980,
            
        
    
        
        
            
                "stream_key_hint": "XPN-UPD",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "title": "Devlog Live: Prototype Playtest",
            
        
    
        
        
            
                "description": "Testing mechanics and taking feedback.",
            
        
    
        
        
            
                "category": "music",
            
        
    
        
        
            
                "is_live": true,
            
        
    
        
        
            
                "is_adult": true,
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "scheduled_start_at": new Date('2026-02-27T20:00:00Z'),
            
        
    
        
        
            
                "started_at": new Date('2026-02-27T20:05:00Z'),
            
        
    
        
        
            
                "ended_at": new Date('2026-02-27T22:00:00Z'),
            
        
    
        
        
            
                "viewer_count": 155,
            
        
    
        
        
            
                "stream_key_hint": "PRV-DEV",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const VideosData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "title": "Beginner OBS Overlay Setup",
            
        
    
        
        
            
                "description": "A simple overlay setup guide for creators.",
            
        
    
        
        
            
                "visibility": "private",
            
        
    
        
        
            
                "is_adult": true,
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "published_at": new Date('2026-02-19T16:00:00Z'),
            
        
    
        
        
            
                "duration_seconds": 620,
            
        
    
        
        
            
                "view_count": 12400,
            
        
    
        
        
            
                "like_count": 980,
            
        
    
        
        
            
                "comment_count": 74,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "title": "Indie Games You Missed",
            
        
    
        
        
            
                "description": "Five hidden gems worth playing.",
            
        
    
        
        
            
                "visibility": "public",
            
        
    
        
        
            
                "is_adult": true,
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "published_at": new Date('2026-02-18T16:00:00Z'),
            
        
    
        
        
            
                "duration_seconds": 780,
            
        
    
        
        
            
                "view_count": 8900,
            
        
    
        
        
            
                "like_count": 670,
            
        
    
        
        
            
                "comment_count": 52,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "title": "Synthwave Track From Scratch",
            
        
    
        
        
            
                "description": "Full session breakdown and export.",
            
        
    
        
        
            
                "visibility": "unlisted",
            
        
    
        
        
            
                "is_adult": true,
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "published_at": new Date('2026-02-17T21:00:00Z'),
            
        
    
        
        
            
                "duration_seconds": 1240,
            
        
    
        
        
            
                "view_count": 5600,
            
        
    
        
        
            
                "like_count": 540,
            
        
    
        
        
            
                "comment_count": 33,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "title": "Welcome to Xpansion",
            
        
    
        
        
            
                "description": "What creators can do in the MVP.",
            
        
    
        
        
            
                "visibility": "unlisted",
            
        
    
        
        
            
                "is_adult": false,
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "published_at": new Date('2026-02-16T15:30:00Z'),
            
        
    
        
        
            
                "duration_seconds": 420,
            
        
    
        
        
            
                "view_count": 22000,
            
        
    
        
        
            
                "like_count": 1500,
            
        
    
        
        
            
                "comment_count": 120,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const CommentsData = [
    
    {
    
        
        
            
                "target_type": "stream",
            
        
    
        
        
            
                "target_key": "Welcome to Xpansion",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "body": "This looks promising. Excited to see discovery tools improve.",
            
        
    
        
        
            
                "posted_at": new Date('2026-02-16T16:05:00Z'),
            
        
    
        
        
            
                "is_hidden": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                "target_type": "video",
            
        
    
        
        
            
                "target_key": "Beginner OBS Overlay Setup",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "body": "Great walkthrough. The alert tips are helpful.",
            
        
    
        
        
            
                "posted_at": new Date('2026-02-19T17:20:00Z'),
            
        
    
        
        
            
                "is_hidden": false,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                "target_type": "video",
            
        
    
        
        
            
                "target_key": "Indie Spotlight Live",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "body": "The new demo looks fun. What is the release date?",
            
        
    
        
        
            
                "posted_at": new Date('2026-02-24T19:40:00Z'),
            
        
    
        
        
            
                "is_hidden": false,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                "target_type": "video",
            
        
    
        
        
            
                "target_key": "Synthwave Track From Scratch",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "body": "Love the sound palette on this one.",
            
        
    
        
        
            
                "posted_at": new Date('2026-02-17T21:40:00Z'),
            
        
    
        
        
            
                "is_hidden": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const PlaylistsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "name": "Indie Discoveries",
            
        
    
        
        
            
                "description": "Streams and videos from new creators.",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "visibility": "private",
            
        
    
        
        
            
                "collaborative": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "name": "Studio References",
            
        
    
        
        
            
                "description": "Mixing and sound design references.",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "visibility": "public",
            
        
    
        
        
            
                "collaborative": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "name": "Creator Tools",
            
        
    
        
        
            
                "description": "Tips on overlays, audio, and branding.",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "visibility": "unlisted",
            
        
    
        
        
            
                "collaborative": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "name": "Xpansion Essentials",
            
        
    
        
        
            
                "description": "Official intros and announcements.",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "visibility": "public",
            
        
    
        
        
            
                "collaborative": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const PlaylistItemsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "item_type": "track",
            
        
    
        
        
            
                "item_key": "Indie Games You Missed",
            
        
    
        
        
            
                "position": 1,
            
        
    
        
        
            
                "added_at": new Date('2026-02-18T17:00:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "item_type": "track",
            
        
    
        
        
            
                "item_key": "Beginner OBS Overlay Setup",
            
        
    
        
        
            
                "position": 2,
            
        
    
        
        
            
                "added_at": new Date('2026-02-19T18:00:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "item_type": "track",
            
        
    
        
        
            
                "item_key": "Beginner OBS Overlay Setup",
            
        
    
        
        
            
                "position": 1,
            
        
    
        
        
            
                "added_at": new Date('2026-02-19T18:05:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "item_type": "track",
            
        
    
        
        
            
                "item_key": "Welcome to Xpansion",
            
        
    
        
        
            
                "position": 1,
            
        
    
        
        
            
                "added_at": new Date('2026-02-16T16:10:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const TipPagesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "slug": "pixelraven",
            
        
    
        
        
            
                "headline": "Support the stream",
            
        
    
        
        
            
                "thank_you_message": "Thanks for the tip. It helps me keep creating.",
            
        
    
        
        
            
                "background_type": "color",
            
        
    
        
        
            
                "background_value": "radial-gradient(#0B0F14,#05060A)",
            
        
    
        
        
            
                "accent_color_hex": "#00E5FF",
            
        
    
        
        
            
                "preset_amount_1": 5,
            
        
    
        
        
            
                "preset_amount_2": 15,
            
        
    
        
        
            
                "preset_amount_3": 30,
            
        
    
        
        
            
                "allow_custom_amount": true,
            
        
    
        
        
            
                "minimum_amount": 2,
            
        
    
        
        
            
                "tts_enabled": true,
            
        
    
        
        
            
                "tts_voice": "Neutral US",
            
        
    
        
        
            
                "show_supporter_feed": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "slug": "lunasynth",
            
        
    
        
        
            
                "headline": "Tip for requests",
            
        
    
        
        
            
                "thank_you_message": "Appreciate the support. Song requests welcome.",
            
        
    
        
        
            
                "background_type": "color",
            
        
    
        
        
            
                "background_value": "#060A12",
            
        
    
        
        
            
                "accent_color_hex": "#2AF2FF",
            
        
    
        
        
            
                "preset_amount_1": 3,
            
        
    
        
        
            
                "preset_amount_2": 10,
            
        
    
        
        
            
                "preset_amount_3": 25,
            
        
    
        
        
            
                "allow_custom_amount": true,
            
        
    
        
        
            
                "minimum_amount": 1,
            
        
    
        
        
            
                "tts_enabled": true,
            
        
    
        
        
            
                "tts_voice": "Neutral US",
            
        
    
        
        
            
                "show_supporter_feed": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "slug": "xpansion",
            
        
    
        
        
            
                "headline": "Support Xpansion development",
            
        
    
        
        
            
                "thank_you_message": "Thanks for supporting platform development.",
            
        
    
        
        
            
                "background_type": "gradient",
            
        
    
        
        
            
                "background_value": "stock:neon-city",
            
        
    
        
        
            
                "accent_color_hex": "#FFD000",
            
        
    
        
        
            
                "preset_amount_1": 10,
            
        
    
        
        
            
                "preset_amount_2": 25,
            
        
    
        
        
            
                "preset_amount_3": 50,
            
        
    
        
        
            
                "allow_custom_amount": true,
            
        
    
        
        
            
                "minimum_amount": 5,
            
        
    
        
        
            
                "tts_enabled": true,
            
        
    
        
        
            
                "tts_voice": "Neutral US",
            
        
    
        
        
            
                "show_supporter_feed": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "slug": "pixelraven-dev",
            
        
    
        
        
            
                "headline": "Fund the prototype",
            
        
    
        
        
            
                "thank_you_message": "Thank you. Your support goes to playtests and builds.",
            
        
    
        
        
            
                "background_type": "video",
            
        
    
        
        
            
                "background_value": "#07070C",
            
        
    
        
        
            
                "accent_color_hex": "#B100FF",
            
        
    
        
        
            
                "preset_amount_1": 2,
            
        
    
        
        
            
                "preset_amount_2": 8,
            
        
    
        
        
            
                "preset_amount_3": 20,
            
        
    
        
        
            
                "allow_custom_amount": true,
            
        
    
        
        
            
                "minimum_amount": 1,
            
        
    
        
        
            
                "tts_enabled": true,
            
        
    
        
        
            
                "tts_voice": "Neutral US",
            
        
    
        
        
            
                "show_supporter_feed": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const TipsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "amount": 15.0,
            
        
    
        
        
            
                "currency": "USD",
            
        
    
        
        
            
                "message": "Great stream tonight. Keep it up.",
            
        
    
        
        
            
                "is_anonymous": true,
            
        
    
        
        
            
                "status": "failed",
            
        
    
        
        
            
                "sent_at": new Date('2026-02-24T20:10:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "amount": 10.0,
            
        
    
        
        
            
                "currency": "USD",
            
        
    
        
        
            
                "message": "Could you play a chill retro track next session?",
            
        
    
        
        
            
                "is_anonymous": false,
            
        
    
        
        
            
                "status": "refunded",
            
        
    
        
        
            
                "sent_at": new Date('2026-02-21T10:15:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "amount": 25.0,
            
        
    
        
        
            
                "currency": "USD",
            
        
    
        
        
            
                "message": "Happy to support the platform build.",
            
        
    
        
        
            
                "is_anonymous": false,
            
        
    
        
        
            
                "status": "completed",
            
        
    
        
        
            
                "sent_at": new Date('2026-02-22T13:00:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "amount": 8.0,
            
        
    
        
        
            
                "currency": "USD",
            
        
    
        
        
            
                "message": "Loved the devlog. Excited for more.",
            
        
    
        
        
            
                "is_anonymous": true,
            
        
    
        
        
            
                "status": "pending",
            
        
    
        
        
            
                "sent_at": new Date('2026-02-23T09:20:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const AlertProfilesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "profile_name": "Raven Alerts",
            
        
    
        
        
            
                "brand_primary_hex": "#00E5FF",
            
        
    
        
        
            
                "brand_accent_hex": "#B100FF",
            
        
    
        
        
            
                "animation_style": "slide",
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "tts_enabled": true,
            
        
    
        
        
            
                "tts_voice": "Neutral US",
            
        
    
        
        
            
                "template_style": "hype",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "profile_name": "Synth Alerts",
            
        
    
        
        
            
                "brand_primary_hex": "#2AF2FF",
            
        
    
        
        
            
                "brand_accent_hex": "#6B4CFF",
            
        
    
        
        
            
                "animation_style": "slide",
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "tts_enabled": true,
            
        
    
        
        
            
                "tts_voice": "Neutral US",
            
        
    
        
        
            
                "template_style": "classic",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "profile_name": "Official Alerts",
            
        
    
        
        
            
                "brand_primary_hex": "#FFD000",
            
        
    
        
        
            
                "brand_accent_hex": "#00FF85",
            
        
    
        
        
            
                "animation_style": "pulse_rgb",
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "tts_enabled": true,
            
        
    
        
        
            
                "tts_voice": "Neutral US",
            
        
    
        
        
            
                "template_style": "hype",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "profile_name": "Dev Alerts",
            
        
    
        
        
            
                "brand_primary_hex": "#B100FF",
            
        
    
        
        
            
                "brand_accent_hex": "#00E5FF",
            
        
    
        
        
            
                "animation_style": "fade",
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "tts_enabled": true,
            
        
    
        
        
            
                "tts_voice": "Neutral US",
            
        
    
        
        
            
                "template_style": "hype",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const AlertsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "alert_type": "order",
            
        
    
        
        
            
                "title": "New tip received",
            
        
    
        
        
            
                "body": "Aria tipped 15 USD",
            
        
    
        
        
            
                "amount": 15.0,
            
        
    
        
        
            
                "currency": "USD",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "status": "dismissed",
            
        
    
        
        
            
                "created_at_time": new Date('2026-02-24T20:10:01Z'),
            
        
    
        
        
            
                "shown_at": new Date('2026-02-24T20:10:05Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "alert_type": "membership",
            
        
    
        
        
            
                "title": "Tip incoming",
            
        
    
        
        
            
                "body": "Aria tipped 10 USD",
            
        
    
        
        
            
                "amount": 10.0,
            
        
    
        
        
            
                "currency": "USD",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "status": "failed",
            
        
    
        
        
            
                "created_at_time": new Date('2026-02-21T10:15:01Z'),
            
        
    
        
        
            
                "shown_at": new Date('2026-02-21T10:15:06Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "alert_type": "follow",
            
        
    
        
        
            
                "title": "New follower",
            
        
    
        
        
            
                "body": "Pixel Raven followed the channel",
            
        
    
        
        
            
                "amount": 0.0,
            
        
    
        
        
            
                "currency": "USD",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "status": "dismissed",
            
        
    
        
        
            
                "created_at_time": new Date('2026-02-22T13:05:00Z'),
            
        
    
        
        
            
                "shown_at": new Date('2026-02-22T13:05:03Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "alert_type": "order",
            
        
    
        
        
            
                "title": "Support received",
            
        
    
        
        
            
                "body": "Luna Synth tipped 8 USD",
            
        
    
        
        
            
                "amount": 8.0,
            
        
    
        
        
            
                "currency": "USD",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "status": "shown",
            
        
    
        
        
            
                "created_at_time": new Date('2026-02-23T09:20:01Z'),
            
        
    
        
        
            
                "shown_at": new Date('2026-02-23T09:20:10Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const OverlayProfilesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "name": "Main Stream Overlay",
            
        
    
        
        
            
                "overlay_type": "stream",
            
        
    
        
        
            
                "access_token": "ovl_prv_main_2026",
            
        
    
        
        
            
                "is_active": true,
            
        
    
        
        
            
                "canvas_settings_json": "{width:1920,height:1080,grid:12}",
            
        
    
        
        
            
                // type code here for "relation_many" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "name": "AFK Overlay",
            
        
    
        
        
            
                "overlay_type": "stream",
            
        
    
        
        
            
                "access_token": "ovl_prv_afk_2026",
            
        
    
        
        
            
                "is_active": true,
            
        
    
        
        
            
                "canvas_settings_json": "{width:1920,height:1080,grid:12}",
            
        
    
        
        
            
                // type code here for "relation_many" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "name": "Music Overlay",
            
        
    
        
        
            
                "overlay_type": "afk",
            
        
    
        
        
            
                "access_token": "ovl_lns_music_2026",
            
        
    
        
        
            
                "is_active": true,
            
        
    
        
        
            
                "canvas_settings_json": "{width:1920,height:1080,grid:12}",
            
        
    
        
        
            
                // type code here for "relation_many" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "name": "Official Overlay",
            
        
    
        
        
            
                "overlay_type": "adult",
            
        
    
        
        
            
                "access_token": "ovl_xpn_official_2026",
            
        
    
        
        
            
                "is_active": true,
            
        
    
        
        
            
                "canvas_settings_json": "{width:1920,height:1080,grid:12}",
            
        
    
        
        
            
                // type code here for "relation_many" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const WidgetCatalogItemsData = [
    
    {
    
        
        
            
                "name": "Chat Box",
            
        
    
        
        
            
                "icon_name": "mdiChat",
            
        
    
        
        
            
                "author_name": "Xpansion",
            
        
    
        
        
            
                "widget_type": "sub_bar",
            
        
    
        
        
            
                "description": "Stream chat display with theme colors.",
            
        
    
        
        
            
                "is_public": true,
            
        
    
        
        
            
                "is_adult_only": false,
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "schema_json": "{fontSize:16,maxMessages:20}",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                "name": "Goal Meter",
            
        
    
        
        
            
                "icon_name": "mdiChartTimelineVariant",
            
        
    
        
        
            
                "author_name": "Xpansion",
            
        
    
        
        
            
                "widget_type": "poll",
            
        
    
        
        
            
                "description": "Progress bar for tips or goals.",
            
        
    
        
        
            
                "is_public": true,
            
        
    
        
        
            
                "is_adult_only": true,
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "schema_json": "{goalAmount:100,currentAmount:0}",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                "name": "Alert Box",
            
        
    
        
        
            
                "icon_name": "mdiBellAlert",
            
        
    
        
        
            
                "author_name": "Xpansion",
            
        
    
        
        
            
                "widget_type": "poll",
            
        
    
        
        
            
                "description": "Renders alerts from the queue.",
            
        
    
        
        
            
                "is_public": true,
            
        
    
        
        
            
                "is_adult_only": false,
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "schema_json": "{template:classic}",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                "name": "Now Playing",
            
        
    
        
        
            
                "icon_name": "mdiMusicNote",
            
        
    
        
        
            
                "author_name": "Xpansion",
            
        
    
        
        
            
                "widget_type": "goal_meter",
            
        
    
        
        
            
                "description": "Shows current track or set name.",
            
        
    
        
        
            
                "is_public": true,
            
        
    
        
        
            
                "is_adult_only": true,
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "schema_json": "{source:manual}",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const OverlayWidgetsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "instance_name": "Main Chat",
            
        
    
        
        
            
                "config_json": "{fontSize:16,maxMessages:18}",
            
        
    
        
        
            
                "x": 40,
            
        
    
        
        
            
                "y": 660,
            
        
    
        
        
            
                "width": 520,
            
        
    
        
        
            
                "height": 380,
            
        
    
        
        
            
                "z_index": 2,
            
        
    
        
        
            
                "is_visible": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "instance_name": "Tip Goal",
            
        
    
        
        
            
                "config_json": "{goalAmount:200,currentAmount:45}",
            
        
    
        
        
            
                "x": 40,
            
        
    
        
        
            
                "y": 40,
            
        
    
        
        
            
                "width": 700,
            
        
    
        
        
            
                "height": 120,
            
        
    
        
        
            
                "z_index": 3,
            
        
    
        
        
            
                "is_visible": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "instance_name": "Alerts",
            
        
    
        
        
            
                "config_json": "{template:classic}",
            
        
    
        
        
            
                "x": 1320,
            
        
    
        
        
            
                "y": 40,
            
        
    
        
        
            
                "width": 560,
            
        
    
        
        
            
                "height": 220,
            
        
    
        
        
            
                "z_index": 4,
            
        
    
        
        
            
                "is_visible": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "instance_name": "Now Playing",
            
        
    
        
        
            
                "config_json": "{source:manual}",
            
        
    
        
        
            
                "x": 60,
            
        
    
        
        
            
                "y": 60,
            
        
    
        
        
            
                "width": 800,
            
        
    
        
        
            
                "height": 120,
            
        
    
        
        
            
                "z_index": 2,
            
        
    
        
        
            
                "is_visible": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const MerchStoresData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "store_name": "Pixel Raven Merch",
            
        
    
        
        
            
                "store_description": "Neon streetwear inspired by indie games.",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "is_active": true,
            
        
    
        
        
            
                "policies_text": "Returns accepted within 30 days for unused items.",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "store_name": "Luna Synth Shop",
            
        
    
        
        
            
                "store_description": "Digital packs and limited tees.",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "is_active": true,
            
        
    
        
        
            
                "policies_text": "Digital products are non-refundable after download.",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "store_name": "Xpansion Store",
            
        
    
        
        
            
                "store_description": "Official platform merch and stickers.",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "is_active": true,
            
        
    
        
        
            
                "policies_text": "Support items ship within 5 business days.",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "store_name": "Raven Dev Goods",
            
        
    
        
        
            
                "store_description": "Prototype supporter items.",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "is_active": true,
            
        
    
        
        
            
                "policies_text": "Limited runs. Shipping times may vary.",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const ProductsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "name": "Neon X Hoodie",
            
        
    
        
        
            
                "description": "Black hoodie with neon accent print.",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "product_type": "digital",
            
        
    
        
        
            
                "price": 49.0,
            
        
    
        
        
            
                "currency": "USD",
            
        
    
        
        
            
                "stock_quantity": 120,
            
        
    
        
        
            
                "is_active": true,
            
        
    
        
        
            
                "is_adult": false,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "name": "Logo Sticker Pack",
            
        
    
        
        
            
                "description": "Set of 8 glossy stickers.",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "product_type": "physical",
            
        
    
        
        
            
                "price": 9.0,
            
        
    
        
        
            
                "currency": "USD",
            
        
    
        
        
            
                "stock_quantity": 500,
            
        
    
        
        
            
                "is_active": true,
            
        
    
        
        
            
                "is_adult": false,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "name": "Synth Sample Pack Vol 1",
            
        
    
        
        
            
                "description": "Royalty-free one-shots and loops.",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "product_type": "digital",
            
        
    
        
        
            
                "price": 19.0,
            
        
    
        
        
            
                "currency": "USD",
            
        
    
        
        
            
                "stock_quantity": 9999,
            
        
    
        
        
            
                "is_active": true,
            
        
    
        
        
            
                "is_adult": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "name": "Xpansion Lanyard",
            
        
    
        
        
            
                "description": "Black lanyard with neon logo.",
            
        
    
        
        
            
                // type code here for "images" field
            
        
    
        
        
            
                "product_type": "digital",
            
        
    
        
        
            
                "price": 12.0,
            
        
    
        
        
            
                "currency": "USD",
            
        
    
        
        
            
                "stock_quantity": 300,
            
        
    
        
        
            
                "is_active": true,
            
        
    
        
        
            
                "is_adult": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const ProductVariantsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "variant_name": "Hoodie Small",
            
        
    
        
        
            
                "sku": "PRV-HOODIE-S",
            
        
    
        
        
            
                "price_override": 49.0,
            
        
    
        
        
            
                "stock_quantity": 30,
            
        
    
        
        
            
                "attributes_json": "{size:S,color:Black}",
            
        
    
        
        
            
                "is_active": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "variant_name": "Hoodie Medium",
            
        
    
        
        
            
                "sku": "PRV-HOODIE-M",
            
        
    
        
        
            
                "price_override": 49.0,
            
        
    
        
        
            
                "stock_quantity": 40,
            
        
    
        
        
            
                "attributes_json": "{size:M,color:Black}",
            
        
    
        
        
            
                "is_active": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "variant_name": "Hoodie Large",
            
        
    
        
        
            
                "sku": "PRV-HOODIE-L",
            
        
    
        
        
            
                "price_override": 49.0,
            
        
    
        
        
            
                "stock_quantity": 35,
            
        
    
        
        
            
                "attributes_json": "{size:L,color:Black}",
            
        
    
        
        
            
                "is_active": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "variant_name": "Sticker Pack Standard",
            
        
    
        
        
            
                "sku": "PRV-STICKER-STD",
            
        
    
        
        
            
                "price_override": 9.0,
            
        
    
        
        
            
                "stock_quantity": 500,
            
        
    
        
        
            
                "attributes_json": "{format:glossy}",
            
        
    
        
        
            
                "is_active": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const OrdersData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "subtotal": 49.0,
            
        
    
        
        
            
                "shipping_cost": 5.0,
            
        
    
        
        
            
                "tax_total": 4.2,
            
        
    
        
        
            
                "total": 58.2,
            
        
    
        
        
            
                "currency": "USD",
            
        
    
        
        
            
                "status": "refunded",
            
        
    
        
        
            
                "payment_method": "card_placeholder",
            
        
    
        
        
            
                "placed_at": new Date('2026-02-24T21:05:00Z'),
            
        
    
        
        
            
                "paid_at": new Date('2026-02-24T21:05:10Z'),
            
        
    
        
        
            
                "fulfilled_at": new Date('2026-02-25T12:00:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "subtotal": 19.0,
            
        
    
        
        
            
                "shipping_cost": 0.0,
            
        
    
        
        
            
                "tax_total": 0.0,
            
        
    
        
        
            
                "total": 19.0,
            
        
    
        
        
            
                "currency": "USD",
            
        
    
        
        
            
                "status": "processing",
            
        
    
        
        
            
                "payment_method": "demo_wallet",
            
        
    
        
        
            
                "placed_at": new Date('2026-02-21T11:00:00Z'),
            
        
    
        
        
            
                "paid_at": new Date('2026-02-21T11:00:05Z'),
            
        
    
        
        
            
                "fulfilled_at": new Date('2026-02-21T11:01:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "subtotal": 12.0,
            
        
    
        
        
            
                "shipping_cost": 4.0,
            
        
    
        
        
            
                "tax_total": 1.3,
            
        
    
        
        
            
                "total": 17.3,
            
        
    
        
        
            
                "currency": "USD",
            
        
    
        
        
            
                "status": "canceled",
            
        
    
        
        
            
                "payment_method": "card_placeholder",
            
        
    
        
        
            
                "placed_at": new Date('2026-02-23T08:40:00Z'),
            
        
    
        
        
            
                "paid_at": new Date('2026-02-23T08:40:07Z'),
            
        
    
        
        
            
                "fulfilled_at": new Date('2026-02-24T09:00:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "subtotal": 5.0,
            
        
    
        
        
            
                "shipping_cost": 0.0,
            
        
    
        
        
            
                "tax_total": 0.0,
            
        
    
        
        
            
                "total": 5.0,
            
        
    
        
        
            
                "currency": "USD",
            
        
    
        
        
            
                "status": "shipped",
            
        
    
        
        
            
                "payment_method": "demo_wallet",
            
        
    
        
        
            
                "placed_at": new Date('2026-02-22T10:10:00Z'),
            
        
    
        
        
            
                "paid_at": new Date('2026-02-22T10:10:04Z'),
            
        
    
        
        
            
                "fulfilled_at": new Date('2026-02-22T10:10:30Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const OrderItemsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "quantity": 1,
            
        
    
        
        
            
                "unit_price": 49.0,
            
        
    
        
        
            
                "line_total": 49.0,
            
        
    
        
        
            
                "product_name_snapshot": "Neon X Hoodie",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "quantity": 1,
            
        
    
        
        
            
                "unit_price": 19.0,
            
        
    
        
        
            
                "line_total": 19.0,
            
        
    
        
        
            
                "product_name_snapshot": "Synth Sample Pack Vol 1",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "quantity": 1,
            
        
    
        
        
            
                "unit_price": 12.0,
            
        
    
        
        
            
                "line_total": 12.0,
            
        
    
        
        
            
                "product_name_snapshot": "Xpansion Lanyard",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "quantity": 1,
            
        
    
        
        
            
                "unit_price": 5.0,
            
        
    
        
        
            
                "line_total": 5.0,
            
        
    
        
        
            
                "product_name_snapshot": "Community Safety Guide",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const ShippingProfilesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "profile_name": "US Standard",
            
        
    
        
        
            
                "origin_country": "US",
            
        
    
        
        
            
                "origin_region": "WA",
            
        
    
        
        
            
                "origin_postal_code": "98101",
            
        
    
        
        
            
                "rules_json": "{flatRate:5,freeOver:75}",
            
        
    
        
        
            
                "is_active": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "profile_name": "US Standard",
            
        
    
        
        
            
                "origin_country": "US",
            
        
    
        
        
            
                "origin_region": "CA",
            
        
    
        
        
            
                "origin_postal_code": "94105",
            
        
    
        
        
            
                "rules_json": "{flatRate:4,freeOver:60}",
            
        
    
        
        
            
                "is_active": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "profile_name": "International",
            
        
    
        
        
            
                "origin_country": "US",
            
        
    
        
        
            
                "origin_region": "WA",
            
        
    
        
        
            
                "origin_postal_code": "98101",
            
        
    
        
        
            
                "rules_json": "{flatRate:15,enabled:true}",
            
        
    
        
        
            
                "is_active": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "profile_name": "Digital Delivery",
            
        
    
        
        
            
                "origin_country": "US",
            
        
    
        
        
            
                "origin_region": "TN",
            
        
    
        
        
            
                "origin_postal_code": "37201",
            
        
    
        
        
            
                "rules_json": "{flatRate:0,digital:true}",
            
        
    
        
        
            
                "is_active": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const PrivateMailboxesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "public_label": "Message Pixel Raven",
            
        
    
        
        
            
                "is_enabled": true,
            
        
    
        
        
            
                "allow_attachments": true,
            
        
    
        
        
            
                "delivery_mode": "forward_to_email",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "public_label": "Message Luna Synth",
            
        
    
        
        
            
                "is_enabled": true,
            
        
    
        
        
            
                "allow_attachments": false,
            
        
    
        
        
            
                "delivery_mode": "forward_to_email",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "public_label": "Contact Xpansion",
            
        
    
        
        
            
                "is_enabled": true,
            
        
    
        
        
            
                "allow_attachments": true,
            
        
    
        
        
            
                "delivery_mode": "inbox_only",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "public_label": "Safety Helpdesk",
            
        
    
        
        
            
                "is_enabled": true,
            
        
    
        
        
            
                "allow_attachments": true,
            
        
    
        
        
            
                "delivery_mode": "forward_to_email",
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const MessagesData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "subject": "Collab idea",
            
        
    
        
        
            
                "body": "Would you be open to a cozy game collab next week?",
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "status": "unread",
            
        
    
        
        
            
                "sent_at": new Date('2026-02-23T15:10:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "subject": "Music for trailer",
            
        
    
        
        
            
                "body": "Interested in a short synth intro for a devlog trailer?",
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "status": "read",
            
        
    
        
        
            
                "sent_at": new Date('2026-02-22T11:30:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "subject": "Feature request",
            
        
    
        
        
            
                "body": "Would love a simple overlay template library for new creators.",
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "status": "unread",
            
        
    
        
        
            
                "sent_at": new Date('2026-02-21T13:45:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "subject": "Reporting question",
            
        
    
        
        
            
                "body": "How do I hide adult content from discovery?",
            
        
    
        
        
            
                // type code here for "files" field
            
        
    
        
        
            
                "status": "blocked",
            
        
    
        
        
            
                "sent_at": new Date('2026-02-20T09:05:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const ReportsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "target_type": "message",
            
        
    
        
        
            
                "target_key": "This looks promising. Excited to see discovery tools improve.",
            
        
    
        
        
            
                "reason": "spam",
            
        
    
        
        
            
                "details": "Repeated promotional links posted in replies.",
            
        
    
        
        
            
                "status": "open",
            
        
    
        
        
            
                "reported_at": new Date('2026-02-23T10:05:00Z'),
            
        
    
        
        
            
                "resolved_at": new Date('2026-02-24T12:00:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "target_type": "comment",
            
        
    
        
        
            
                "target_key": "@unknowncreator",
            
        
    
        
        
            
                "reason": "nudity",
            
        
    
        
        
            
                "details": "Account appears to copy branding and handle style.",
            
        
    
        
        
            
                "status": "open",
            
        
    
        
        
            
                "reported_at": new Date('2026-02-22T18:10:00Z'),
            
        
    
        
        
            
                "resolved_at": new Date('2026-02-24T12:30:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "target_type": "comment",
            
        
    
        
        
            
                "target_key": "Suspicious Giveaway Video",
            
        
    
        
        
            
                "reason": "illegal",
            
        
    
        
        
            
                "details": "Video claims free items and requests personal data.",
            
        
    
        
        
            
                "status": "open",
            
        
    
        
        
            
                "reported_at": new Date('2026-02-21T20:40:00Z'),
            
        
    
        
        
            
                "resolved_at": new Date('2026-02-22T09:15:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "target_type": "message",
            
        
    
        
        
            
                "target_key": "Collab idea",
            
        
    
        
        
            
                "reason": "nudity",
            
        
    
        
        
            
                "details": "Message contains repeated unwanted contact attempts.",
            
        
    
        
        
            
                "status": "open",
            
        
    
        
        
            
                "reported_at": new Date('2026-02-24T08:00:00Z'),
            
        
    
        
        
            
                "resolved_at": new Date('2026-02-24T09:00:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const DemoWalletsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "available_balance": 120.0,
            
        
    
        
        
            
                "lifetime_earned": 150.0,
            
        
    
        
        
            
                "lifetime_spent": 30.0,
            
        
    
        
        
            
                "currency": "USD",
            
        
    
        
        
            
                "payouts_enabled": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "available_balance": 540.0,
            
        
    
        
        
            
                "lifetime_earned": 780.0,
            
        
    
        
        
            
                "lifetime_spent": 240.0,
            
        
    
        
        
            
                "currency": "USD",
            
        
    
        
        
            
                "payouts_enabled": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "available_balance": 310.0,
            
        
    
        
        
            
                "lifetime_earned": 420.0,
            
        
    
        
        
            
                "lifetime_spent": 110.0,
            
        
    
        
        
            
                "currency": "USD",
            
        
    
        
        
            
                "payouts_enabled": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "available_balance": 1000.0,
            
        
    
        
        
            
                "lifetime_earned": 1200.0,
            
        
    
        
        
            
                "lifetime_spent": 200.0,
            
        
    
        
        
            
                "currency": "USD",
            
        
    
        
        
            
                "payouts_enabled": true,
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];



const WalletTransactionsData = [
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "direction": "credit",
            
        
    
        
        
            
                "kind": "tip",
            
        
    
        
        
            
                "amount": 15.0,
            
        
    
        
        
            
                "currency": "USD",
            
        
    
        
        
            
                "reference_key": "tip_20260224_001",
            
        
    
        
        
            
                "note": "Tip to Pixel Raven",
            
        
    
        
        
            
                "occurred_at": new Date('2026-02-24T20:10:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "direction": "credit",
            
        
    
        
        
            
                "kind": "order",
            
        
    
        
        
            
                "amount": 58.2,
            
        
    
        
        
            
                "currency": "USD",
            
        
    
        
        
            
                "reference_key": "order_20260224_001",
            
        
    
        
        
            
                "note": "Order from Pixel Raven Merch",
            
        
    
        
        
            
                "occurred_at": new Date('2026-02-24T21:05:10Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "direction": "debit",
            
        
    
        
        
            
                "kind": "refund",
            
        
    
        
        
            
                "amount": 15.0,
            
        
    
        
        
            
                "currency": "USD",
            
        
    
        
        
            
                "reference_key": "tip_20260224_001",
            
        
    
        
        
            
                "note": "Tip received from Aria",
            
        
    
        
        
            
                "occurred_at": new Date('2026-02-24T20:10:00Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
    {
    
        
        
            
                // type code here for "relation_one" field
            
        
    
        
        
            
                "direction": "credit",
            
        
    
        
        
            
                "kind": "tip",
            
        
    
        
        
            
                "amount": 49.0,
            
        
    
        
        
            
                "currency": "USD",
            
        
    
        
        
            
                "reference_key": "order_20260224_001",
            
        
    
        
        
            
                "note": "Merch sale payout demo",
            
        
    
        
        
            
                "occurred_at": new Date('2026-02-24T21:05:10Z'),
            
        
    
        
        
            
                // type code here for "relation_one" field
            
        
    
    },
    
];




    
    
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
            // Similar logic for "relation_many"
        
    
        
            
            async function associateUserWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const User0 = await Users.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (User0?.setOrganization)
                {
                    await
                    User0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const User1 = await Users.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (User1?.setOrganization)
                {
                    await
                    User1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const User2 = await Users.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (User2?.setOrganization)
                {
                    await
                    User2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const User3 = await Users.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (User3?.setOrganization)
                {
                    await
                    User3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
    
    
        
    

    
    
    
        
            
            async function associateCreatorProfileWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const CreatorProfile0 = await CreatorProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (CreatorProfile0?.setUser)
                {
                    await
                    CreatorProfile0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const CreatorProfile1 = await CreatorProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (CreatorProfile1?.setUser)
                {
                    await
                    CreatorProfile1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const CreatorProfile2 = await CreatorProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (CreatorProfile2?.setUser)
                {
                    await
                    CreatorProfile2.
                    setUser(relatedUser2);
                }
            
                const relatedUser3 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const CreatorProfile3 = await CreatorProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (CreatorProfile3?.setUser)
                {
                    await
                    CreatorProfile3.
                    setUser(relatedUser3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateCreatorProfileWithProfile_style() {
            
                const relatedProfile_style0 = await ProfileStyles.findOne({
                    offset: Math.floor(Math.random() * (await ProfileStyles.count())),
                });
                const CreatorProfile0 = await CreatorProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (CreatorProfile0?.setProfile_style)
                {
                    await
                    CreatorProfile0.
                    setProfile_style(relatedProfile_style0);
                }
            
                const relatedProfile_style1 = await ProfileStyles.findOne({
                    offset: Math.floor(Math.random() * (await ProfileStyles.count())),
                });
                const CreatorProfile1 = await CreatorProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (CreatorProfile1?.setProfile_style)
                {
                    await
                    CreatorProfile1.
                    setProfile_style(relatedProfile_style1);
                }
            
                const relatedProfile_style2 = await ProfileStyles.findOne({
                    offset: Math.floor(Math.random() * (await ProfileStyles.count())),
                });
                const CreatorProfile2 = await CreatorProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (CreatorProfile2?.setProfile_style)
                {
                    await
                    CreatorProfile2.
                    setProfile_style(relatedProfile_style2);
                }
            
                const relatedProfile_style3 = await ProfileStyles.findOne({
                    offset: Math.floor(Math.random() * (await ProfileStyles.count())),
                });
                const CreatorProfile3 = await CreatorProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (CreatorProfile3?.setProfile_style)
                {
                    await
                    CreatorProfile3.
                    setProfile_style(relatedProfile_style3);
                }
            
        }
        
    
        
            
            async function associateCreatorProfileWithTip_page() {
            
                const relatedTip_page0 = await TipPages.findOne({
                    offset: Math.floor(Math.random() * (await TipPages.count())),
                });
                const CreatorProfile0 = await CreatorProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (CreatorProfile0?.setTip_page)
                {
                    await
                    CreatorProfile0.
                    setTip_page(relatedTip_page0);
                }
            
                const relatedTip_page1 = await TipPages.findOne({
                    offset: Math.floor(Math.random() * (await TipPages.count())),
                });
                const CreatorProfile1 = await CreatorProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (CreatorProfile1?.setTip_page)
                {
                    await
                    CreatorProfile1.
                    setTip_page(relatedTip_page1);
                }
            
                const relatedTip_page2 = await TipPages.findOne({
                    offset: Math.floor(Math.random() * (await TipPages.count())),
                });
                const CreatorProfile2 = await CreatorProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (CreatorProfile2?.setTip_page)
                {
                    await
                    CreatorProfile2.
                    setTip_page(relatedTip_page2);
                }
            
                const relatedTip_page3 = await TipPages.findOne({
                    offset: Math.floor(Math.random() * (await TipPages.count())),
                });
                const CreatorProfile3 = await CreatorProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (CreatorProfile3?.setTip_page)
                {
                    await
                    CreatorProfile3.
                    setTip_page(relatedTip_page3);
                }
            
        }
        
    
        
            
            async function associateCreatorProfileWithMerch_store() {
            
                const relatedMerch_store0 = await MerchStores.findOne({
                    offset: Math.floor(Math.random() * (await MerchStores.count())),
                });
                const CreatorProfile0 = await CreatorProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (CreatorProfile0?.setMerch_store)
                {
                    await
                    CreatorProfile0.
                    setMerch_store(relatedMerch_store0);
                }
            
                const relatedMerch_store1 = await MerchStores.findOne({
                    offset: Math.floor(Math.random() * (await MerchStores.count())),
                });
                const CreatorProfile1 = await CreatorProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (CreatorProfile1?.setMerch_store)
                {
                    await
                    CreatorProfile1.
                    setMerch_store(relatedMerch_store1);
                }
            
                const relatedMerch_store2 = await MerchStores.findOne({
                    offset: Math.floor(Math.random() * (await MerchStores.count())),
                });
                const CreatorProfile2 = await CreatorProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (CreatorProfile2?.setMerch_store)
                {
                    await
                    CreatorProfile2.
                    setMerch_store(relatedMerch_store2);
                }
            
                const relatedMerch_store3 = await MerchStores.findOne({
                    offset: Math.floor(Math.random() * (await MerchStores.count())),
                });
                const CreatorProfile3 = await CreatorProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (CreatorProfile3?.setMerch_store)
                {
                    await
                    CreatorProfile3.
                    setMerch_store(relatedMerch_store3);
                }
            
        }
        
    
        
            
            async function associateCreatorProfileWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const CreatorProfile0 = await CreatorProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (CreatorProfile0?.setOrganization)
                {
                    await
                    CreatorProfile0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const CreatorProfile1 = await CreatorProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (CreatorProfile1?.setOrganization)
                {
                    await
                    CreatorProfile1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const CreatorProfile2 = await CreatorProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (CreatorProfile2?.setOrganization)
                {
                    await
                    CreatorProfile2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const CreatorProfile3 = await CreatorProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (CreatorProfile3?.setOrganization)
                {
                    await
                    CreatorProfile3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associateFanProfileWithUser() {
            
                const relatedUser0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const FanProfile0 = await FanProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (FanProfile0?.setUser)
                {
                    await
                    FanProfile0.
                    setUser(relatedUser0);
                }
            
                const relatedUser1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const FanProfile1 = await FanProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (FanProfile1?.setUser)
                {
                    await
                    FanProfile1.
                    setUser(relatedUser1);
                }
            
                const relatedUser2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const FanProfile2 = await FanProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (FanProfile2?.setUser)
                {
                    await
                    FanProfile2.
                    setUser(relatedUser2);
                }
            
                const relatedUser3 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const FanProfile3 = await FanProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (FanProfile3?.setUser)
                {
                    await
                    FanProfile3.
                    setUser(relatedUser3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateFanProfileWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const FanProfile0 = await FanProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (FanProfile0?.setOrganization)
                {
                    await
                    FanProfile0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const FanProfile1 = await FanProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (FanProfile1?.setOrganization)
                {
                    await
                    FanProfile1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const FanProfile2 = await FanProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (FanProfile2?.setOrganization)
                {
                    await
                    FanProfile2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const FanProfile3 = await FanProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (FanProfile3?.setOrganization)
                {
                    await
                    FanProfile3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associateFollowWithFollower_user() {
            
                const relatedFollower_user0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Follow0 = await Follows.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Follow0?.setFollower_user)
                {
                    await
                    Follow0.
                    setFollower_user(relatedFollower_user0);
                }
            
                const relatedFollower_user1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Follow1 = await Follows.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Follow1?.setFollower_user)
                {
                    await
                    Follow1.
                    setFollower_user(relatedFollower_user1);
                }
            
                const relatedFollower_user2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Follow2 = await Follows.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Follow2?.setFollower_user)
                {
                    await
                    Follow2.
                    setFollower_user(relatedFollower_user2);
                }
            
                const relatedFollower_user3 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Follow3 = await Follows.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Follow3?.setFollower_user)
                {
                    await
                    Follow3.
                    setFollower_user(relatedFollower_user3);
                }
            
        }
        
    
        
            
            async function associateFollowWithFollowed_creator() {
            
                const relatedFollowed_creator0 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const Follow0 = await Follows.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Follow0?.setFollowed_creator)
                {
                    await
                    Follow0.
                    setFollowed_creator(relatedFollowed_creator0);
                }
            
                const relatedFollowed_creator1 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const Follow1 = await Follows.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Follow1?.setFollowed_creator)
                {
                    await
                    Follow1.
                    setFollowed_creator(relatedFollowed_creator1);
                }
            
                const relatedFollowed_creator2 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const Follow2 = await Follows.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Follow2?.setFollowed_creator)
                {
                    await
                    Follow2.
                    setFollowed_creator(relatedFollowed_creator2);
                }
            
                const relatedFollowed_creator3 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const Follow3 = await Follows.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Follow3?.setFollowed_creator)
                {
                    await
                    Follow3.
                    setFollowed_creator(relatedFollowed_creator3);
                }
            
        }
        
    
        
    
        
    
        
            
            async function associateFollowWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Follow0 = await Follows.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Follow0?.setOrganization)
                {
                    await
                    Follow0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Follow1 = await Follows.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Follow1?.setOrganization)
                {
                    await
                    Follow1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Follow2 = await Follows.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Follow2?.setOrganization)
                {
                    await
                    Follow2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Follow3 = await Follows.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Follow3?.setOrganization)
                {
                    await
                    Follow3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associateThemeProfileWithOwner_user() {
            
                const relatedOwner_user0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const ThemeProfile0 = await ThemeProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (ThemeProfile0?.setOwner_user)
                {
                    await
                    ThemeProfile0.
                    setOwner_user(relatedOwner_user0);
                }
            
                const relatedOwner_user1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const ThemeProfile1 = await ThemeProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (ThemeProfile1?.setOwner_user)
                {
                    await
                    ThemeProfile1.
                    setOwner_user(relatedOwner_user1);
                }
            
                const relatedOwner_user2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const ThemeProfile2 = await ThemeProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (ThemeProfile2?.setOwner_user)
                {
                    await
                    ThemeProfile2.
                    setOwner_user(relatedOwner_user2);
                }
            
                const relatedOwner_user3 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const ThemeProfile3 = await ThemeProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (ThemeProfile3?.setOwner_user)
                {
                    await
                    ThemeProfile3.
                    setOwner_user(relatedOwner_user3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateThemeProfileWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const ThemeProfile0 = await ThemeProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (ThemeProfile0?.setOrganization)
                {
                    await
                    ThemeProfile0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const ThemeProfile1 = await ThemeProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (ThemeProfile1?.setOrganization)
                {
                    await
                    ThemeProfile1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const ThemeProfile2 = await ThemeProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (ThemeProfile2?.setOrganization)
                {
                    await
                    ThemeProfile2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const ThemeProfile3 = await ThemeProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (ThemeProfile3?.setOrganization)
                {
                    await
                    ThemeProfile3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associateProfileStyleWithOwner_user() {
            
                const relatedOwner_user0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const ProfileStyle0 = await ProfileStyles.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (ProfileStyle0?.setOwner_user)
                {
                    await
                    ProfileStyle0.
                    setOwner_user(relatedOwner_user0);
                }
            
                const relatedOwner_user1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const ProfileStyle1 = await ProfileStyles.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (ProfileStyle1?.setOwner_user)
                {
                    await
                    ProfileStyle1.
                    setOwner_user(relatedOwner_user1);
                }
            
                const relatedOwner_user2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const ProfileStyle2 = await ProfileStyles.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (ProfileStyle2?.setOwner_user)
                {
                    await
                    ProfileStyle2.
                    setOwner_user(relatedOwner_user2);
                }
            
                const relatedOwner_user3 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const ProfileStyle3 = await ProfileStyles.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (ProfileStyle3?.setOwner_user)
                {
                    await
                    ProfileStyle3.
                    setOwner_user(relatedOwner_user3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateProfileStyleWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const ProfileStyle0 = await ProfileStyles.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (ProfileStyle0?.setOrganization)
                {
                    await
                    ProfileStyle0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const ProfileStyle1 = await ProfileStyles.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (ProfileStyle1?.setOrganization)
                {
                    await
                    ProfileStyle1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const ProfileStyle2 = await ProfileStyles.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (ProfileStyle2?.setOrganization)
                {
                    await
                    ProfileStyle2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const ProfileStyle3 = await ProfileStyles.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (ProfileStyle3?.setOrganization)
                {
                    await
                    ProfileStyle3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
    
        
            
            async function associateDiscoveryItemWithCreator() {
            
                const relatedCreator0 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const DiscoveryItem0 = await DiscoveryItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (DiscoveryItem0?.setCreator)
                {
                    await
                    DiscoveryItem0.
                    setCreator(relatedCreator0);
                }
            
                const relatedCreator1 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const DiscoveryItem1 = await DiscoveryItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (DiscoveryItem1?.setCreator)
                {
                    await
                    DiscoveryItem1.
                    setCreator(relatedCreator1);
                }
            
                const relatedCreator2 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const DiscoveryItem2 = await DiscoveryItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (DiscoveryItem2?.setCreator)
                {
                    await
                    DiscoveryItem2.
                    setCreator(relatedCreator2);
                }
            
                const relatedCreator3 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const DiscoveryItem3 = await DiscoveryItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (DiscoveryItem3?.setCreator)
                {
                    await
                    DiscoveryItem3.
                    setCreator(relatedCreator3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateDiscoveryItemWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const DiscoveryItem0 = await DiscoveryItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (DiscoveryItem0?.setOrganization)
                {
                    await
                    DiscoveryItem0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const DiscoveryItem1 = await DiscoveryItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (DiscoveryItem1?.setOrganization)
                {
                    await
                    DiscoveryItem1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const DiscoveryItem2 = await DiscoveryItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (DiscoveryItem2?.setOrganization)
                {
                    await
                    DiscoveryItem2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const DiscoveryItem3 = await DiscoveryItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (DiscoveryItem3?.setOrganization)
                {
                    await
                    DiscoveryItem3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associateStreamWithCreator() {
            
                const relatedCreator0 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const Stream0 = await Streams.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Stream0?.setCreator)
                {
                    await
                    Stream0.
                    setCreator(relatedCreator0);
                }
            
                const relatedCreator1 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const Stream1 = await Streams.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Stream1?.setCreator)
                {
                    await
                    Stream1.
                    setCreator(relatedCreator1);
                }
            
                const relatedCreator2 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const Stream2 = await Streams.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Stream2?.setCreator)
                {
                    await
                    Stream2.
                    setCreator(relatedCreator2);
                }
            
                const relatedCreator3 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const Stream3 = await Streams.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Stream3?.setCreator)
                {
                    await
                    Stream3.
                    setCreator(relatedCreator3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateStreamWithOverlay_profile() {
            
                const relatedOverlay_profile0 = await OverlayProfiles.findOne({
                    offset: Math.floor(Math.random() * (await OverlayProfiles.count())),
                });
                const Stream0 = await Streams.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Stream0?.setOverlay_profile)
                {
                    await
                    Stream0.
                    setOverlay_profile(relatedOverlay_profile0);
                }
            
                const relatedOverlay_profile1 = await OverlayProfiles.findOne({
                    offset: Math.floor(Math.random() * (await OverlayProfiles.count())),
                });
                const Stream1 = await Streams.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Stream1?.setOverlay_profile)
                {
                    await
                    Stream1.
                    setOverlay_profile(relatedOverlay_profile1);
                }
            
                const relatedOverlay_profile2 = await OverlayProfiles.findOne({
                    offset: Math.floor(Math.random() * (await OverlayProfiles.count())),
                });
                const Stream2 = await Streams.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Stream2?.setOverlay_profile)
                {
                    await
                    Stream2.
                    setOverlay_profile(relatedOverlay_profile2);
                }
            
                const relatedOverlay_profile3 = await OverlayProfiles.findOne({
                    offset: Math.floor(Math.random() * (await OverlayProfiles.count())),
                });
                const Stream3 = await Streams.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Stream3?.setOverlay_profile)
                {
                    await
                    Stream3.
                    setOverlay_profile(relatedOverlay_profile3);
                }
            
        }
        
    
        
            
            async function associateStreamWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Stream0 = await Streams.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Stream0?.setOrganization)
                {
                    await
                    Stream0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Stream1 = await Streams.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Stream1?.setOrganization)
                {
                    await
                    Stream1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Stream2 = await Streams.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Stream2?.setOrganization)
                {
                    await
                    Stream2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Stream3 = await Streams.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Stream3?.setOrganization)
                {
                    await
                    Stream3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associateVideoWithCreator() {
            
                const relatedCreator0 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const Video0 = await Videos.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Video0?.setCreator)
                {
                    await
                    Video0.
                    setCreator(relatedCreator0);
                }
            
                const relatedCreator1 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const Video1 = await Videos.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Video1?.setCreator)
                {
                    await
                    Video1.
                    setCreator(relatedCreator1);
                }
            
                const relatedCreator2 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const Video2 = await Videos.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Video2?.setCreator)
                {
                    await
                    Video2.
                    setCreator(relatedCreator2);
                }
            
                const relatedCreator3 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const Video3 = await Videos.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Video3?.setCreator)
                {
                    await
                    Video3.
                    setCreator(relatedCreator3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateVideoWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Video0 = await Videos.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Video0?.setOrganization)
                {
                    await
                    Video0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Video1 = await Videos.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Video1?.setOrganization)
                {
                    await
                    Video1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Video2 = await Videos.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Video2?.setOrganization)
                {
                    await
                    Video2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Video3 = await Videos.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Video3?.setOrganization)
                {
                    await
                    Video3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
    
        
    
        
            
            async function associateCommentWithAuthor_user() {
            
                const relatedAuthor_user0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Comment0 = await Comments.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Comment0?.setAuthor_user)
                {
                    await
                    Comment0.
                    setAuthor_user(relatedAuthor_user0);
                }
            
                const relatedAuthor_user1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Comment1 = await Comments.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Comment1?.setAuthor_user)
                {
                    await
                    Comment1.
                    setAuthor_user(relatedAuthor_user1);
                }
            
                const relatedAuthor_user2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Comment2 = await Comments.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Comment2?.setAuthor_user)
                {
                    await
                    Comment2.
                    setAuthor_user(relatedAuthor_user2);
                }
            
                const relatedAuthor_user3 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Comment3 = await Comments.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Comment3?.setAuthor_user)
                {
                    await
                    Comment3.
                    setAuthor_user(relatedAuthor_user3);
                }
            
        }
        
    
        
    
        
    
        
    
        
            
            async function associateCommentWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Comment0 = await Comments.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Comment0?.setOrganization)
                {
                    await
                    Comment0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Comment1 = await Comments.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Comment1?.setOrganization)
                {
                    await
                    Comment1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Comment2 = await Comments.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Comment2?.setOrganization)
                {
                    await
                    Comment2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Comment3 = await Comments.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Comment3?.setOrganization)
                {
                    await
                    Comment3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associatePlaylistWithOwner_user() {
            
                const relatedOwner_user0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Playlist0 = await Playlists.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Playlist0?.setOwner_user)
                {
                    await
                    Playlist0.
                    setOwner_user(relatedOwner_user0);
                }
            
                const relatedOwner_user1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Playlist1 = await Playlists.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Playlist1?.setOwner_user)
                {
                    await
                    Playlist1.
                    setOwner_user(relatedOwner_user1);
                }
            
                const relatedOwner_user2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Playlist2 = await Playlists.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Playlist2?.setOwner_user)
                {
                    await
                    Playlist2.
                    setOwner_user(relatedOwner_user2);
                }
            
                const relatedOwner_user3 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Playlist3 = await Playlists.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Playlist3?.setOwner_user)
                {
                    await
                    Playlist3.
                    setOwner_user(relatedOwner_user3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associatePlaylistWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Playlist0 = await Playlists.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Playlist0?.setOrganization)
                {
                    await
                    Playlist0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Playlist1 = await Playlists.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Playlist1?.setOrganization)
                {
                    await
                    Playlist1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Playlist2 = await Playlists.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Playlist2?.setOrganization)
                {
                    await
                    Playlist2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Playlist3 = await Playlists.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Playlist3?.setOrganization)
                {
                    await
                    Playlist3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associatePlaylistItemWithPlaylist() {
            
                const relatedPlaylist0 = await Playlists.findOne({
                    offset: Math.floor(Math.random() * (await Playlists.count())),
                });
                const PlaylistItem0 = await PlaylistItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (PlaylistItem0?.setPlaylist)
                {
                    await
                    PlaylistItem0.
                    setPlaylist(relatedPlaylist0);
                }
            
                const relatedPlaylist1 = await Playlists.findOne({
                    offset: Math.floor(Math.random() * (await Playlists.count())),
                });
                const PlaylistItem1 = await PlaylistItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (PlaylistItem1?.setPlaylist)
                {
                    await
                    PlaylistItem1.
                    setPlaylist(relatedPlaylist1);
                }
            
                const relatedPlaylist2 = await Playlists.findOne({
                    offset: Math.floor(Math.random() * (await Playlists.count())),
                });
                const PlaylistItem2 = await PlaylistItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (PlaylistItem2?.setPlaylist)
                {
                    await
                    PlaylistItem2.
                    setPlaylist(relatedPlaylist2);
                }
            
                const relatedPlaylist3 = await Playlists.findOne({
                    offset: Math.floor(Math.random() * (await Playlists.count())),
                });
                const PlaylistItem3 = await PlaylistItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (PlaylistItem3?.setPlaylist)
                {
                    await
                    PlaylistItem3.
                    setPlaylist(relatedPlaylist3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
            
            async function associatePlaylistItemWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const PlaylistItem0 = await PlaylistItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (PlaylistItem0?.setOrganization)
                {
                    await
                    PlaylistItem0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const PlaylistItem1 = await PlaylistItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (PlaylistItem1?.setOrganization)
                {
                    await
                    PlaylistItem1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const PlaylistItem2 = await PlaylistItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (PlaylistItem2?.setOrganization)
                {
                    await
                    PlaylistItem2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const PlaylistItem3 = await PlaylistItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (PlaylistItem3?.setOrganization)
                {
                    await
                    PlaylistItem3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associateTipPageWithCreator() {
            
                const relatedCreator0 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const TipPage0 = await TipPages.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (TipPage0?.setCreator)
                {
                    await
                    TipPage0.
                    setCreator(relatedCreator0);
                }
            
                const relatedCreator1 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const TipPage1 = await TipPages.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (TipPage1?.setCreator)
                {
                    await
                    TipPage1.
                    setCreator(relatedCreator1);
                }
            
                const relatedCreator2 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const TipPage2 = await TipPages.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (TipPage2?.setCreator)
                {
                    await
                    TipPage2.
                    setCreator(relatedCreator2);
                }
            
                const relatedCreator3 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const TipPage3 = await TipPages.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (TipPage3?.setCreator)
                {
                    await
                    TipPage3.
                    setCreator(relatedCreator3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateTipPageWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const TipPage0 = await TipPages.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (TipPage0?.setOrganization)
                {
                    await
                    TipPage0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const TipPage1 = await TipPages.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (TipPage1?.setOrganization)
                {
                    await
                    TipPage1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const TipPage2 = await TipPages.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (TipPage2?.setOrganization)
                {
                    await
                    TipPage2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const TipPage3 = await TipPages.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (TipPage3?.setOrganization)
                {
                    await
                    TipPage3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associateTipWithTip_page() {
            
                const relatedTip_page0 = await TipPages.findOne({
                    offset: Math.floor(Math.random() * (await TipPages.count())),
                });
                const Tip0 = await Tips.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Tip0?.setTip_page)
                {
                    await
                    Tip0.
                    setTip_page(relatedTip_page0);
                }
            
                const relatedTip_page1 = await TipPages.findOne({
                    offset: Math.floor(Math.random() * (await TipPages.count())),
                });
                const Tip1 = await Tips.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Tip1?.setTip_page)
                {
                    await
                    Tip1.
                    setTip_page(relatedTip_page1);
                }
            
                const relatedTip_page2 = await TipPages.findOne({
                    offset: Math.floor(Math.random() * (await TipPages.count())),
                });
                const Tip2 = await Tips.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Tip2?.setTip_page)
                {
                    await
                    Tip2.
                    setTip_page(relatedTip_page2);
                }
            
                const relatedTip_page3 = await TipPages.findOne({
                    offset: Math.floor(Math.random() * (await TipPages.count())),
                });
                const Tip3 = await Tips.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Tip3?.setTip_page)
                {
                    await
                    Tip3.
                    setTip_page(relatedTip_page3);
                }
            
        }
        
    
        
            
            async function associateTipWithFrom_user() {
            
                const relatedFrom_user0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Tip0 = await Tips.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Tip0?.setFrom_user)
                {
                    await
                    Tip0.
                    setFrom_user(relatedFrom_user0);
                }
            
                const relatedFrom_user1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Tip1 = await Tips.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Tip1?.setFrom_user)
                {
                    await
                    Tip1.
                    setFrom_user(relatedFrom_user1);
                }
            
                const relatedFrom_user2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Tip2 = await Tips.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Tip2?.setFrom_user)
                {
                    await
                    Tip2.
                    setFrom_user(relatedFrom_user2);
                }
            
                const relatedFrom_user3 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Tip3 = await Tips.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Tip3?.setFrom_user)
                {
                    await
                    Tip3.
                    setFrom_user(relatedFrom_user3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateTipWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Tip0 = await Tips.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Tip0?.setOrganization)
                {
                    await
                    Tip0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Tip1 = await Tips.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Tip1?.setOrganization)
                {
                    await
                    Tip1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Tip2 = await Tips.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Tip2?.setOrganization)
                {
                    await
                    Tip2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Tip3 = await Tips.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Tip3?.setOrganization)
                {
                    await
                    Tip3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associateAlertProfileWithOwner_user() {
            
                const relatedOwner_user0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const AlertProfile0 = await AlertProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (AlertProfile0?.setOwner_user)
                {
                    await
                    AlertProfile0.
                    setOwner_user(relatedOwner_user0);
                }
            
                const relatedOwner_user1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const AlertProfile1 = await AlertProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (AlertProfile1?.setOwner_user)
                {
                    await
                    AlertProfile1.
                    setOwner_user(relatedOwner_user1);
                }
            
                const relatedOwner_user2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const AlertProfile2 = await AlertProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (AlertProfile2?.setOwner_user)
                {
                    await
                    AlertProfile2.
                    setOwner_user(relatedOwner_user2);
                }
            
                const relatedOwner_user3 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const AlertProfile3 = await AlertProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (AlertProfile3?.setOwner_user)
                {
                    await
                    AlertProfile3.
                    setOwner_user(relatedOwner_user3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateAlertProfileWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const AlertProfile0 = await AlertProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (AlertProfile0?.setOrganization)
                {
                    await
                    AlertProfile0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const AlertProfile1 = await AlertProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (AlertProfile1?.setOrganization)
                {
                    await
                    AlertProfile1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const AlertProfile2 = await AlertProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (AlertProfile2?.setOrganization)
                {
                    await
                    AlertProfile2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const AlertProfile3 = await AlertProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (AlertProfile3?.setOrganization)
                {
                    await
                    AlertProfile3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associateAlertWithCreator() {
            
                const relatedCreator0 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const Alert0 = await Alerts.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Alert0?.setCreator)
                {
                    await
                    Alert0.
                    setCreator(relatedCreator0);
                }
            
                const relatedCreator1 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const Alert1 = await Alerts.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Alert1?.setCreator)
                {
                    await
                    Alert1.
                    setCreator(relatedCreator1);
                }
            
                const relatedCreator2 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const Alert2 = await Alerts.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Alert2?.setCreator)
                {
                    await
                    Alert2.
                    setCreator(relatedCreator2);
                }
            
                const relatedCreator3 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const Alert3 = await Alerts.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Alert3?.setCreator)
                {
                    await
                    Alert3.
                    setCreator(relatedCreator3);
                }
            
        }
        
    
        
            
            async function associateAlertWithAlert_profile() {
            
                const relatedAlert_profile0 = await AlertProfiles.findOne({
                    offset: Math.floor(Math.random() * (await AlertProfiles.count())),
                });
                const Alert0 = await Alerts.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Alert0?.setAlert_profile)
                {
                    await
                    Alert0.
                    setAlert_profile(relatedAlert_profile0);
                }
            
                const relatedAlert_profile1 = await AlertProfiles.findOne({
                    offset: Math.floor(Math.random() * (await AlertProfiles.count())),
                });
                const Alert1 = await Alerts.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Alert1?.setAlert_profile)
                {
                    await
                    Alert1.
                    setAlert_profile(relatedAlert_profile1);
                }
            
                const relatedAlert_profile2 = await AlertProfiles.findOne({
                    offset: Math.floor(Math.random() * (await AlertProfiles.count())),
                });
                const Alert2 = await Alerts.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Alert2?.setAlert_profile)
                {
                    await
                    Alert2.
                    setAlert_profile(relatedAlert_profile2);
                }
            
                const relatedAlert_profile3 = await AlertProfiles.findOne({
                    offset: Math.floor(Math.random() * (await AlertProfiles.count())),
                });
                const Alert3 = await Alerts.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Alert3?.setAlert_profile)
                {
                    await
                    Alert3.
                    setAlert_profile(relatedAlert_profile3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateAlertWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Alert0 = await Alerts.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Alert0?.setOrganization)
                {
                    await
                    Alert0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Alert1 = await Alerts.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Alert1?.setOrganization)
                {
                    await
                    Alert1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Alert2 = await Alerts.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Alert2?.setOrganization)
                {
                    await
                    Alert2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Alert3 = await Alerts.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Alert3?.setOrganization)
                {
                    await
                    Alert3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associateOverlayProfileWithCreator() {
            
                const relatedCreator0 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const OverlayProfile0 = await OverlayProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (OverlayProfile0?.setCreator)
                {
                    await
                    OverlayProfile0.
                    setCreator(relatedCreator0);
                }
            
                const relatedCreator1 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const OverlayProfile1 = await OverlayProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (OverlayProfile1?.setCreator)
                {
                    await
                    OverlayProfile1.
                    setCreator(relatedCreator1);
                }
            
                const relatedCreator2 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const OverlayProfile2 = await OverlayProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (OverlayProfile2?.setCreator)
                {
                    await
                    OverlayProfile2.
                    setCreator(relatedCreator2);
                }
            
                const relatedCreator3 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const OverlayProfile3 = await OverlayProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (OverlayProfile3?.setCreator)
                {
                    await
                    OverlayProfile3.
                    setCreator(relatedCreator3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
            // Similar logic for "relation_many"
        
    
        
            
            async function associateOverlayProfileWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const OverlayProfile0 = await OverlayProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (OverlayProfile0?.setOrganization)
                {
                    await
                    OverlayProfile0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const OverlayProfile1 = await OverlayProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (OverlayProfile1?.setOrganization)
                {
                    await
                    OverlayProfile1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const OverlayProfile2 = await OverlayProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (OverlayProfile2?.setOrganization)
                {
                    await
                    OverlayProfile2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const OverlayProfile3 = await OverlayProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (OverlayProfile3?.setOrganization)
                {
                    await
                    OverlayProfile3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateWidgetCatalogItemWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const WidgetCatalogItem0 = await WidgetCatalogItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (WidgetCatalogItem0?.setOrganization)
                {
                    await
                    WidgetCatalogItem0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const WidgetCatalogItem1 = await WidgetCatalogItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (WidgetCatalogItem1?.setOrganization)
                {
                    await
                    WidgetCatalogItem1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const WidgetCatalogItem2 = await WidgetCatalogItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (WidgetCatalogItem2?.setOrganization)
                {
                    await
                    WidgetCatalogItem2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const WidgetCatalogItem3 = await WidgetCatalogItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (WidgetCatalogItem3?.setOrganization)
                {
                    await
                    WidgetCatalogItem3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associateOverlayWidgetWithOverlay_profile() {
            
                const relatedOverlay_profile0 = await OverlayProfiles.findOne({
                    offset: Math.floor(Math.random() * (await OverlayProfiles.count())),
                });
                const OverlayWidget0 = await OverlayWidgets.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (OverlayWidget0?.setOverlay_profile)
                {
                    await
                    OverlayWidget0.
                    setOverlay_profile(relatedOverlay_profile0);
                }
            
                const relatedOverlay_profile1 = await OverlayProfiles.findOne({
                    offset: Math.floor(Math.random() * (await OverlayProfiles.count())),
                });
                const OverlayWidget1 = await OverlayWidgets.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (OverlayWidget1?.setOverlay_profile)
                {
                    await
                    OverlayWidget1.
                    setOverlay_profile(relatedOverlay_profile1);
                }
            
                const relatedOverlay_profile2 = await OverlayProfiles.findOne({
                    offset: Math.floor(Math.random() * (await OverlayProfiles.count())),
                });
                const OverlayWidget2 = await OverlayWidgets.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (OverlayWidget2?.setOverlay_profile)
                {
                    await
                    OverlayWidget2.
                    setOverlay_profile(relatedOverlay_profile2);
                }
            
                const relatedOverlay_profile3 = await OverlayProfiles.findOne({
                    offset: Math.floor(Math.random() * (await OverlayProfiles.count())),
                });
                const OverlayWidget3 = await OverlayWidgets.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (OverlayWidget3?.setOverlay_profile)
                {
                    await
                    OverlayWidget3.
                    setOverlay_profile(relatedOverlay_profile3);
                }
            
        }
        
    
        
            
            async function associateOverlayWidgetWithCatalog_item() {
            
                const relatedCatalog_item0 = await WidgetCatalogItems.findOne({
                    offset: Math.floor(Math.random() * (await WidgetCatalogItems.count())),
                });
                const OverlayWidget0 = await OverlayWidgets.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (OverlayWidget0?.setCatalog_item)
                {
                    await
                    OverlayWidget0.
                    setCatalog_item(relatedCatalog_item0);
                }
            
                const relatedCatalog_item1 = await WidgetCatalogItems.findOne({
                    offset: Math.floor(Math.random() * (await WidgetCatalogItems.count())),
                });
                const OverlayWidget1 = await OverlayWidgets.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (OverlayWidget1?.setCatalog_item)
                {
                    await
                    OverlayWidget1.
                    setCatalog_item(relatedCatalog_item1);
                }
            
                const relatedCatalog_item2 = await WidgetCatalogItems.findOne({
                    offset: Math.floor(Math.random() * (await WidgetCatalogItems.count())),
                });
                const OverlayWidget2 = await OverlayWidgets.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (OverlayWidget2?.setCatalog_item)
                {
                    await
                    OverlayWidget2.
                    setCatalog_item(relatedCatalog_item2);
                }
            
                const relatedCatalog_item3 = await WidgetCatalogItems.findOne({
                    offset: Math.floor(Math.random() * (await WidgetCatalogItems.count())),
                });
                const OverlayWidget3 = await OverlayWidgets.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (OverlayWidget3?.setCatalog_item)
                {
                    await
                    OverlayWidget3.
                    setCatalog_item(relatedCatalog_item3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateOverlayWidgetWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const OverlayWidget0 = await OverlayWidgets.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (OverlayWidget0?.setOrganization)
                {
                    await
                    OverlayWidget0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const OverlayWidget1 = await OverlayWidgets.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (OverlayWidget1?.setOrganization)
                {
                    await
                    OverlayWidget1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const OverlayWidget2 = await OverlayWidgets.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (OverlayWidget2?.setOrganization)
                {
                    await
                    OverlayWidget2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const OverlayWidget3 = await OverlayWidgets.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (OverlayWidget3?.setOrganization)
                {
                    await
                    OverlayWidget3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associateMerchStoreWithCreator() {
            
                const relatedCreator0 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const MerchStore0 = await MerchStores.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (MerchStore0?.setCreator)
                {
                    await
                    MerchStore0.
                    setCreator(relatedCreator0);
                }
            
                const relatedCreator1 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const MerchStore1 = await MerchStores.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (MerchStore1?.setCreator)
                {
                    await
                    MerchStore1.
                    setCreator(relatedCreator1);
                }
            
                const relatedCreator2 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const MerchStore2 = await MerchStores.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (MerchStore2?.setCreator)
                {
                    await
                    MerchStore2.
                    setCreator(relatedCreator2);
                }
            
                const relatedCreator3 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const MerchStore3 = await MerchStores.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (MerchStore3?.setCreator)
                {
                    await
                    MerchStore3.
                    setCreator(relatedCreator3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateMerchStoreWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const MerchStore0 = await MerchStores.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (MerchStore0?.setOrganization)
                {
                    await
                    MerchStore0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const MerchStore1 = await MerchStores.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (MerchStore1?.setOrganization)
                {
                    await
                    MerchStore1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const MerchStore2 = await MerchStores.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (MerchStore2?.setOrganization)
                {
                    await
                    MerchStore2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const MerchStore3 = await MerchStores.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (MerchStore3?.setOrganization)
                {
                    await
                    MerchStore3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associateProductWithMerch_store() {
            
                const relatedMerch_store0 = await MerchStores.findOne({
                    offset: Math.floor(Math.random() * (await MerchStores.count())),
                });
                const Product0 = await Products.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Product0?.setMerch_store)
                {
                    await
                    Product0.
                    setMerch_store(relatedMerch_store0);
                }
            
                const relatedMerch_store1 = await MerchStores.findOne({
                    offset: Math.floor(Math.random() * (await MerchStores.count())),
                });
                const Product1 = await Products.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Product1?.setMerch_store)
                {
                    await
                    Product1.
                    setMerch_store(relatedMerch_store1);
                }
            
                const relatedMerch_store2 = await MerchStores.findOne({
                    offset: Math.floor(Math.random() * (await MerchStores.count())),
                });
                const Product2 = await Products.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Product2?.setMerch_store)
                {
                    await
                    Product2.
                    setMerch_store(relatedMerch_store2);
                }
            
                const relatedMerch_store3 = await MerchStores.findOne({
                    offset: Math.floor(Math.random() * (await MerchStores.count())),
                });
                const Product3 = await Products.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Product3?.setMerch_store)
                {
                    await
                    Product3.
                    setMerch_store(relatedMerch_store3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateProductWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Product0 = await Products.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Product0?.setOrganization)
                {
                    await
                    Product0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Product1 = await Products.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Product1?.setOrganization)
                {
                    await
                    Product1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Product2 = await Products.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Product2?.setOrganization)
                {
                    await
                    Product2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Product3 = await Products.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Product3?.setOrganization)
                {
                    await
                    Product3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associateProductVariantWithProduct() {
            
                const relatedProduct0 = await Products.findOne({
                    offset: Math.floor(Math.random() * (await Products.count())),
                });
                const ProductVariant0 = await ProductVariants.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (ProductVariant0?.setProduct)
                {
                    await
                    ProductVariant0.
                    setProduct(relatedProduct0);
                }
            
                const relatedProduct1 = await Products.findOne({
                    offset: Math.floor(Math.random() * (await Products.count())),
                });
                const ProductVariant1 = await ProductVariants.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (ProductVariant1?.setProduct)
                {
                    await
                    ProductVariant1.
                    setProduct(relatedProduct1);
                }
            
                const relatedProduct2 = await Products.findOne({
                    offset: Math.floor(Math.random() * (await Products.count())),
                });
                const ProductVariant2 = await ProductVariants.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (ProductVariant2?.setProduct)
                {
                    await
                    ProductVariant2.
                    setProduct(relatedProduct2);
                }
            
                const relatedProduct3 = await Products.findOne({
                    offset: Math.floor(Math.random() * (await Products.count())),
                });
                const ProductVariant3 = await ProductVariants.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (ProductVariant3?.setProduct)
                {
                    await
                    ProductVariant3.
                    setProduct(relatedProduct3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateProductVariantWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const ProductVariant0 = await ProductVariants.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (ProductVariant0?.setOrganization)
                {
                    await
                    ProductVariant0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const ProductVariant1 = await ProductVariants.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (ProductVariant1?.setOrganization)
                {
                    await
                    ProductVariant1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const ProductVariant2 = await ProductVariants.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (ProductVariant2?.setOrganization)
                {
                    await
                    ProductVariant2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const ProductVariant3 = await ProductVariants.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (ProductVariant3?.setOrganization)
                {
                    await
                    ProductVariant3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associateOrderWithBuyer_user() {
            
                const relatedBuyer_user0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Order0 = await Orders.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Order0?.setBuyer_user)
                {
                    await
                    Order0.
                    setBuyer_user(relatedBuyer_user0);
                }
            
                const relatedBuyer_user1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Order1 = await Orders.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Order1?.setBuyer_user)
                {
                    await
                    Order1.
                    setBuyer_user(relatedBuyer_user1);
                }
            
                const relatedBuyer_user2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Order2 = await Orders.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Order2?.setBuyer_user)
                {
                    await
                    Order2.
                    setBuyer_user(relatedBuyer_user2);
                }
            
                const relatedBuyer_user3 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Order3 = await Orders.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Order3?.setBuyer_user)
                {
                    await
                    Order3.
                    setBuyer_user(relatedBuyer_user3);
                }
            
        }
        
    
        
            
            async function associateOrderWithMerch_store() {
            
                const relatedMerch_store0 = await MerchStores.findOne({
                    offset: Math.floor(Math.random() * (await MerchStores.count())),
                });
                const Order0 = await Orders.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Order0?.setMerch_store)
                {
                    await
                    Order0.
                    setMerch_store(relatedMerch_store0);
                }
            
                const relatedMerch_store1 = await MerchStores.findOne({
                    offset: Math.floor(Math.random() * (await MerchStores.count())),
                });
                const Order1 = await Orders.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Order1?.setMerch_store)
                {
                    await
                    Order1.
                    setMerch_store(relatedMerch_store1);
                }
            
                const relatedMerch_store2 = await MerchStores.findOne({
                    offset: Math.floor(Math.random() * (await MerchStores.count())),
                });
                const Order2 = await Orders.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Order2?.setMerch_store)
                {
                    await
                    Order2.
                    setMerch_store(relatedMerch_store2);
                }
            
                const relatedMerch_store3 = await MerchStores.findOne({
                    offset: Math.floor(Math.random() * (await MerchStores.count())),
                });
                const Order3 = await Orders.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Order3?.setMerch_store)
                {
                    await
                    Order3.
                    setMerch_store(relatedMerch_store3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateOrderWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Order0 = await Orders.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Order0?.setOrganization)
                {
                    await
                    Order0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Order1 = await Orders.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Order1?.setOrganization)
                {
                    await
                    Order1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Order2 = await Orders.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Order2?.setOrganization)
                {
                    await
                    Order2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Order3 = await Orders.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Order3?.setOrganization)
                {
                    await
                    Order3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associateOrderItemWithOrder() {
            
                const relatedOrder0 = await Orders.findOne({
                    offset: Math.floor(Math.random() * (await Orders.count())),
                });
                const OrderItem0 = await OrderItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (OrderItem0?.setOrder)
                {
                    await
                    OrderItem0.
                    setOrder(relatedOrder0);
                }
            
                const relatedOrder1 = await Orders.findOne({
                    offset: Math.floor(Math.random() * (await Orders.count())),
                });
                const OrderItem1 = await OrderItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (OrderItem1?.setOrder)
                {
                    await
                    OrderItem1.
                    setOrder(relatedOrder1);
                }
            
                const relatedOrder2 = await Orders.findOne({
                    offset: Math.floor(Math.random() * (await Orders.count())),
                });
                const OrderItem2 = await OrderItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (OrderItem2?.setOrder)
                {
                    await
                    OrderItem2.
                    setOrder(relatedOrder2);
                }
            
                const relatedOrder3 = await Orders.findOne({
                    offset: Math.floor(Math.random() * (await Orders.count())),
                });
                const OrderItem3 = await OrderItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (OrderItem3?.setOrder)
                {
                    await
                    OrderItem3.
                    setOrder(relatedOrder3);
                }
            
        }
        
    
        
            
            async function associateOrderItemWithProduct() {
            
                const relatedProduct0 = await Products.findOne({
                    offset: Math.floor(Math.random() * (await Products.count())),
                });
                const OrderItem0 = await OrderItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (OrderItem0?.setProduct)
                {
                    await
                    OrderItem0.
                    setProduct(relatedProduct0);
                }
            
                const relatedProduct1 = await Products.findOne({
                    offset: Math.floor(Math.random() * (await Products.count())),
                });
                const OrderItem1 = await OrderItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (OrderItem1?.setProduct)
                {
                    await
                    OrderItem1.
                    setProduct(relatedProduct1);
                }
            
                const relatedProduct2 = await Products.findOne({
                    offset: Math.floor(Math.random() * (await Products.count())),
                });
                const OrderItem2 = await OrderItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (OrderItem2?.setProduct)
                {
                    await
                    OrderItem2.
                    setProduct(relatedProduct2);
                }
            
                const relatedProduct3 = await Products.findOne({
                    offset: Math.floor(Math.random() * (await Products.count())),
                });
                const OrderItem3 = await OrderItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (OrderItem3?.setProduct)
                {
                    await
                    OrderItem3.
                    setProduct(relatedProduct3);
                }
            
        }
        
    
        
            
            async function associateOrderItemWithVariant() {
            
                const relatedVariant0 = await ProductVariants.findOne({
                    offset: Math.floor(Math.random() * (await ProductVariants.count())),
                });
                const OrderItem0 = await OrderItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (OrderItem0?.setVariant)
                {
                    await
                    OrderItem0.
                    setVariant(relatedVariant0);
                }
            
                const relatedVariant1 = await ProductVariants.findOne({
                    offset: Math.floor(Math.random() * (await ProductVariants.count())),
                });
                const OrderItem1 = await OrderItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (OrderItem1?.setVariant)
                {
                    await
                    OrderItem1.
                    setVariant(relatedVariant1);
                }
            
                const relatedVariant2 = await ProductVariants.findOne({
                    offset: Math.floor(Math.random() * (await ProductVariants.count())),
                });
                const OrderItem2 = await OrderItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (OrderItem2?.setVariant)
                {
                    await
                    OrderItem2.
                    setVariant(relatedVariant2);
                }
            
                const relatedVariant3 = await ProductVariants.findOne({
                    offset: Math.floor(Math.random() * (await ProductVariants.count())),
                });
                const OrderItem3 = await OrderItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (OrderItem3?.setVariant)
                {
                    await
                    OrderItem3.
                    setVariant(relatedVariant3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateOrderItemWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const OrderItem0 = await OrderItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (OrderItem0?.setOrganization)
                {
                    await
                    OrderItem0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const OrderItem1 = await OrderItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (OrderItem1?.setOrganization)
                {
                    await
                    OrderItem1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const OrderItem2 = await OrderItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (OrderItem2?.setOrganization)
                {
                    await
                    OrderItem2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const OrderItem3 = await OrderItems.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (OrderItem3?.setOrganization)
                {
                    await
                    OrderItem3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associateShippingProfileWithMerch_store() {
            
                const relatedMerch_store0 = await MerchStores.findOne({
                    offset: Math.floor(Math.random() * (await MerchStores.count())),
                });
                const ShippingProfile0 = await ShippingProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (ShippingProfile0?.setMerch_store)
                {
                    await
                    ShippingProfile0.
                    setMerch_store(relatedMerch_store0);
                }
            
                const relatedMerch_store1 = await MerchStores.findOne({
                    offset: Math.floor(Math.random() * (await MerchStores.count())),
                });
                const ShippingProfile1 = await ShippingProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (ShippingProfile1?.setMerch_store)
                {
                    await
                    ShippingProfile1.
                    setMerch_store(relatedMerch_store1);
                }
            
                const relatedMerch_store2 = await MerchStores.findOne({
                    offset: Math.floor(Math.random() * (await MerchStores.count())),
                });
                const ShippingProfile2 = await ShippingProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (ShippingProfile2?.setMerch_store)
                {
                    await
                    ShippingProfile2.
                    setMerch_store(relatedMerch_store2);
                }
            
                const relatedMerch_store3 = await MerchStores.findOne({
                    offset: Math.floor(Math.random() * (await MerchStores.count())),
                });
                const ShippingProfile3 = await ShippingProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (ShippingProfile3?.setMerch_store)
                {
                    await
                    ShippingProfile3.
                    setMerch_store(relatedMerch_store3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateShippingProfileWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const ShippingProfile0 = await ShippingProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (ShippingProfile0?.setOrganization)
                {
                    await
                    ShippingProfile0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const ShippingProfile1 = await ShippingProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (ShippingProfile1?.setOrganization)
                {
                    await
                    ShippingProfile1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const ShippingProfile2 = await ShippingProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (ShippingProfile2?.setOrganization)
                {
                    await
                    ShippingProfile2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const ShippingProfile3 = await ShippingProfiles.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (ShippingProfile3?.setOrganization)
                {
                    await
                    ShippingProfile3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associatePrivateMailboxeWithOwner_creator() {
            
                const relatedOwner_creator0 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const PrivateMailboxe0 = await PrivateMailboxes.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (PrivateMailboxe0?.setOwner_creator)
                {
                    await
                    PrivateMailboxe0.
                    setOwner_creator(relatedOwner_creator0);
                }
            
                const relatedOwner_creator1 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const PrivateMailboxe1 = await PrivateMailboxes.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (PrivateMailboxe1?.setOwner_creator)
                {
                    await
                    PrivateMailboxe1.
                    setOwner_creator(relatedOwner_creator1);
                }
            
                const relatedOwner_creator2 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const PrivateMailboxe2 = await PrivateMailboxes.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (PrivateMailboxe2?.setOwner_creator)
                {
                    await
                    PrivateMailboxe2.
                    setOwner_creator(relatedOwner_creator2);
                }
            
                const relatedOwner_creator3 = await CreatorProfiles.findOne({
                    offset: Math.floor(Math.random() * (await CreatorProfiles.count())),
                });
                const PrivateMailboxe3 = await PrivateMailboxes.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (PrivateMailboxe3?.setOwner_creator)
                {
                    await
                    PrivateMailboxe3.
                    setOwner_creator(relatedOwner_creator3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
            
            async function associatePrivateMailboxeWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const PrivateMailboxe0 = await PrivateMailboxes.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (PrivateMailboxe0?.setOrganization)
                {
                    await
                    PrivateMailboxe0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const PrivateMailboxe1 = await PrivateMailboxes.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (PrivateMailboxe1?.setOrganization)
                {
                    await
                    PrivateMailboxe1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const PrivateMailboxe2 = await PrivateMailboxes.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (PrivateMailboxe2?.setOrganization)
                {
                    await
                    PrivateMailboxe2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const PrivateMailboxe3 = await PrivateMailboxes.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (PrivateMailboxe3?.setOrganization)
                {
                    await
                    PrivateMailboxe3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associateMessageWithMailbox() {
            
                const relatedMailbox0 = await PrivateMailboxes.findOne({
                    offset: Math.floor(Math.random() * (await PrivateMailboxes.count())),
                });
                const Message0 = await Messages.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Message0?.setMailbox)
                {
                    await
                    Message0.
                    setMailbox(relatedMailbox0);
                }
            
                const relatedMailbox1 = await PrivateMailboxes.findOne({
                    offset: Math.floor(Math.random() * (await PrivateMailboxes.count())),
                });
                const Message1 = await Messages.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Message1?.setMailbox)
                {
                    await
                    Message1.
                    setMailbox(relatedMailbox1);
                }
            
                const relatedMailbox2 = await PrivateMailboxes.findOne({
                    offset: Math.floor(Math.random() * (await PrivateMailboxes.count())),
                });
                const Message2 = await Messages.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Message2?.setMailbox)
                {
                    await
                    Message2.
                    setMailbox(relatedMailbox2);
                }
            
                const relatedMailbox3 = await PrivateMailboxes.findOne({
                    offset: Math.floor(Math.random() * (await PrivateMailboxes.count())),
                });
                const Message3 = await Messages.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Message3?.setMailbox)
                {
                    await
                    Message3.
                    setMailbox(relatedMailbox3);
                }
            
        }
        
    
        
            
            async function associateMessageWithFrom_user() {
            
                const relatedFrom_user0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Message0 = await Messages.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Message0?.setFrom_user)
                {
                    await
                    Message0.
                    setFrom_user(relatedFrom_user0);
                }
            
                const relatedFrom_user1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Message1 = await Messages.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Message1?.setFrom_user)
                {
                    await
                    Message1.
                    setFrom_user(relatedFrom_user1);
                }
            
                const relatedFrom_user2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Message2 = await Messages.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Message2?.setFrom_user)
                {
                    await
                    Message2.
                    setFrom_user(relatedFrom_user2);
                }
            
                const relatedFrom_user3 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Message3 = await Messages.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Message3?.setFrom_user)
                {
                    await
                    Message3.
                    setFrom_user(relatedFrom_user3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateMessageWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Message0 = await Messages.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Message0?.setOrganization)
                {
                    await
                    Message0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Message1 = await Messages.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Message1?.setOrganization)
                {
                    await
                    Message1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Message2 = await Messages.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Message2?.setOrganization)
                {
                    await
                    Message2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Message3 = await Messages.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Message3?.setOrganization)
                {
                    await
                    Message3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associateReportWithReporter_user() {
            
                const relatedReporter_user0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Report0 = await Reports.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Report0?.setReporter_user)
                {
                    await
                    Report0.
                    setReporter_user(relatedReporter_user0);
                }
            
                const relatedReporter_user1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Report1 = await Reports.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Report1?.setReporter_user)
                {
                    await
                    Report1.
                    setReporter_user(relatedReporter_user1);
                }
            
                const relatedReporter_user2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Report2 = await Reports.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Report2?.setReporter_user)
                {
                    await
                    Report2.
                    setReporter_user(relatedReporter_user2);
                }
            
                const relatedReporter_user3 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const Report3 = await Reports.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Report3?.setReporter_user)
                {
                    await
                    Report3.
                    setReporter_user(relatedReporter_user3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateReportWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Report0 = await Reports.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (Report0?.setOrganization)
                {
                    await
                    Report0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Report1 = await Reports.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (Report1?.setOrganization)
                {
                    await
                    Report1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Report2 = await Reports.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (Report2?.setOrganization)
                {
                    await
                    Report2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const Report3 = await Reports.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (Report3?.setOrganization)
                {
                    await
                    Report3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associateDemoWalletWithOwner_user() {
            
                const relatedOwner_user0 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const DemoWallet0 = await DemoWallets.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (DemoWallet0?.setOwner_user)
                {
                    await
                    DemoWallet0.
                    setOwner_user(relatedOwner_user0);
                }
            
                const relatedOwner_user1 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const DemoWallet1 = await DemoWallets.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (DemoWallet1?.setOwner_user)
                {
                    await
                    DemoWallet1.
                    setOwner_user(relatedOwner_user1);
                }
            
                const relatedOwner_user2 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const DemoWallet2 = await DemoWallets.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (DemoWallet2?.setOwner_user)
                {
                    await
                    DemoWallet2.
                    setOwner_user(relatedOwner_user2);
                }
            
                const relatedOwner_user3 = await Users.findOne({
                    offset: Math.floor(Math.random() * (await Users.count())),
                });
                const DemoWallet3 = await DemoWallets.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (DemoWallet3?.setOwner_user)
                {
                    await
                    DemoWallet3.
                    setOwner_user(relatedOwner_user3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateDemoWalletWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const DemoWallet0 = await DemoWallets.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (DemoWallet0?.setOrganization)
                {
                    await
                    DemoWallet0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const DemoWallet1 = await DemoWallets.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (DemoWallet1?.setOrganization)
                {
                    await
                    DemoWallet1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const DemoWallet2 = await DemoWallets.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (DemoWallet2?.setOrganization)
                {
                    await
                    DemoWallet2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const DemoWallet3 = await DemoWallets.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (DemoWallet3?.setOrganization)
                {
                    await
                    DemoWallet3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    

    
    
    
        
            
            async function associateWalletTransactionWithWallet() {
            
                const relatedWallet0 = await DemoWallets.findOne({
                    offset: Math.floor(Math.random() * (await DemoWallets.count())),
                });
                const WalletTransaction0 = await WalletTransactions.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (WalletTransaction0?.setWallet)
                {
                    await
                    WalletTransaction0.
                    setWallet(relatedWallet0);
                }
            
                const relatedWallet1 = await DemoWallets.findOne({
                    offset: Math.floor(Math.random() * (await DemoWallets.count())),
                });
                const WalletTransaction1 = await WalletTransactions.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (WalletTransaction1?.setWallet)
                {
                    await
                    WalletTransaction1.
                    setWallet(relatedWallet1);
                }
            
                const relatedWallet2 = await DemoWallets.findOne({
                    offset: Math.floor(Math.random() * (await DemoWallets.count())),
                });
                const WalletTransaction2 = await WalletTransactions.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (WalletTransaction2?.setWallet)
                {
                    await
                    WalletTransaction2.
                    setWallet(relatedWallet2);
                }
            
                const relatedWallet3 = await DemoWallets.findOne({
                    offset: Math.floor(Math.random() * (await DemoWallets.count())),
                });
                const WalletTransaction3 = await WalletTransactions.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (WalletTransaction3?.setWallet)
                {
                    await
                    WalletTransaction3.
                    setWallet(relatedWallet3);
                }
            
        }
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
    
        
            
            async function associateWalletTransactionWithOrganization() {
            
                const relatedOrganization0 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const WalletTransaction0 = await WalletTransactions.findOne({
                    order: [['id', 'ASC']],
                    offset: 0
                });
                if (WalletTransaction0?.setOrganization)
                {
                    await
                    WalletTransaction0.
                    setOrganization(relatedOrganization0);
                }
            
                const relatedOrganization1 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const WalletTransaction1 = await WalletTransactions.findOne({
                    order: [['id', 'ASC']],
                    offset: 1
                });
                if (WalletTransaction1?.setOrganization)
                {
                    await
                    WalletTransaction1.
                    setOrganization(relatedOrganization1);
                }
            
                const relatedOrganization2 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const WalletTransaction2 = await WalletTransactions.findOne({
                    order: [['id', 'ASC']],
                    offset: 2
                });
                if (WalletTransaction2?.setOrganization)
                {
                    await
                    WalletTransaction2.
                    setOrganization(relatedOrganization2);
                }
            
                const relatedOrganization3 = await Organizations.findOne({
                    offset: Math.floor(Math.random() * (await Organizations.count())),
                });
                const WalletTransaction3 = await WalletTransactions.findOne({
                    order: [['id', 'ASC']],
                    offset: 3
                });
                if (WalletTransaction3?.setOrganization)
                {
                    await
                    WalletTransaction3.
                    setOrganization(relatedOrganization3);
                }
            
        }
        
    


module.exports = {
    up: async (queryInterface, Sequelize) => {
        
            
            
            
            
            
                
                await Organizations.bulkCreate(OrganizationsData);
                
            
            
                
                await CreatorProfiles.bulkCreate(CreatorProfilesData);
                
            
            
                
                await FanProfiles.bulkCreate(FanProfilesData);
                
            
            
                
                await Follows.bulkCreate(FollowsData);
                
            
            
                
                await ThemeProfiles.bulkCreate(ThemeProfilesData);
                
            
            
                
                await ProfileStyles.bulkCreate(ProfileStylesData);
                
            
            
                
                await DiscoveryItems.bulkCreate(DiscoveryItemsData);
                
            
            
                
                await Streams.bulkCreate(StreamsData);
                
            
            
                
                await Videos.bulkCreate(VideosData);
                
            
            
                
                await Comments.bulkCreate(CommentsData);
                
            
            
                
                await Playlists.bulkCreate(PlaylistsData);
                
            
            
                
                await PlaylistItems.bulkCreate(PlaylistItemsData);
                
            
            
                
                await TipPages.bulkCreate(TipPagesData);
                
            
            
                
                await Tips.bulkCreate(TipsData);
                
            
            
                
                await AlertProfiles.bulkCreate(AlertProfilesData);
                
            
            
                
                await Alerts.bulkCreate(AlertsData);
                
            
            
                
                await OverlayProfiles.bulkCreate(OverlayProfilesData);
                
            
            
                
                await WidgetCatalogItems.bulkCreate(WidgetCatalogItemsData);
                
            
            
                
                await OverlayWidgets.bulkCreate(OverlayWidgetsData);
                
            
            
                
                await MerchStores.bulkCreate(MerchStoresData);
                
            
            
                
                await Products.bulkCreate(ProductsData);
                
            
            
                
                await ProductVariants.bulkCreate(ProductVariantsData);
                
            
            
                
                await Orders.bulkCreate(OrdersData);
                
            
            
                
                await OrderItems.bulkCreate(OrderItemsData);
                
            
            
                
                await ShippingProfiles.bulkCreate(ShippingProfilesData);
                
            
            
                
                await PrivateMailboxes.bulkCreate(PrivateMailboxesData);
                
            
            
                
                await Messages.bulkCreate(MessagesData);
                
            
            
                
                await Reports.bulkCreate(ReportsData);
                
            
            
                
                await DemoWallets.bulkCreate(DemoWalletsData);
                
            
            
                
                await WalletTransactions.bulkCreate(WalletTransactionsData);
                
            
            await Promise.all([
            
                
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        // Similar logic for "relation_many"
                    
                
                    
                        
                        await associateUserWithOrganization(),
                    
                
            
                
                
                
                
                    
                
            
                
                
                    
                        
                        await associateCreatorProfileWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateCreatorProfileWithProfile_style(),
                    
                
                    
                        
                        await associateCreatorProfileWithTip_page(),
                    
                
                    
                        
                        await associateCreatorProfileWithMerch_store(),
                    
                
                    
                        
                        await associateCreatorProfileWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associateFanProfileWithUser(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateFanProfileWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associateFollowWithFollower_user(),
                    
                
                    
                        
                        await associateFollowWithFollowed_creator(),
                    
                
                    
                
                    
                
                    
                        
                        await associateFollowWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associateThemeProfileWithOwner_user(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateThemeProfileWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associateProfileStyleWithOwner_user(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateProfileStyleWithOrganization(),
                    
                
            
                
                
                    
                
                    
                        
                        await associateDiscoveryItemWithCreator(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateDiscoveryItemWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associateStreamWithCreator(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateStreamWithOverlay_profile(),
                    
                
                    
                        
                        await associateStreamWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associateVideoWithCreator(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateVideoWithOrganization(),
                    
                
            
                
                
                    
                
                    
                
                    
                        
                        await associateCommentWithAuthor_user(),
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateCommentWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associatePlaylistWithOwner_user(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associatePlaylistWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associatePlaylistItemWithPlaylist(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associatePlaylistItemWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associateTipPageWithCreator(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateTipPageWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associateTipWithTip_page(),
                    
                
                    
                        
                        await associateTipWithFrom_user(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateTipWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associateAlertProfileWithOwner_user(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateAlertProfileWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associateAlertWithCreator(),
                    
                
                    
                        
                        await associateAlertWithAlert_profile(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateAlertWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associateOverlayProfileWithCreator(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        // Similar logic for "relation_many"
                    
                
                    
                        
                        await associateOverlayProfileWithOrganization(),
                    
                
            
                
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateWidgetCatalogItemWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associateOverlayWidgetWithOverlay_profile(),
                    
                
                    
                        
                        await associateOverlayWidgetWithCatalog_item(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateOverlayWidgetWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associateMerchStoreWithCreator(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateMerchStoreWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associateProductWithMerch_store(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateProductWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associateProductVariantWithProduct(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateProductVariantWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associateOrderWithBuyer_user(),
                    
                
                    
                        
                        await associateOrderWithMerch_store(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateOrderWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associateOrderItemWithOrder(),
                    
                
                    
                        
                        await associateOrderItemWithProduct(),
                    
                
                    
                        
                        await associateOrderItemWithVariant(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateOrderItemWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associateShippingProfileWithMerch_store(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateShippingProfileWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associatePrivateMailboxeWithOwner_creator(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associatePrivateMailboxeWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associateMessageWithMailbox(),
                    
                
                    
                        
                        await associateMessageWithFrom_user(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateMessageWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associateReportWithReporter_user(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateReportWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associateDemoWalletWithOwner_user(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateDemoWalletWithOrganization(),
                    
                
            
                
                
                    
                        
                        await associateWalletTransactionWithWallet(),
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                
                    
                        
                        await associateWalletTransactionWithOrganization(),
                    
                
            
            ]);
        
    },

    down: async (queryInterface, Sequelize) => {
        
            
            
            
            
            
            await queryInterface.bulkDelete('organizations', null, {});
            
            
            await queryInterface.bulkDelete('creator_profiles', null, {});
            
            
            await queryInterface.bulkDelete('fan_profiles', null, {});
            
            
            await queryInterface.bulkDelete('follows', null, {});
            
            
            await queryInterface.bulkDelete('theme_profiles', null, {});
            
            
            await queryInterface.bulkDelete('profile_styles', null, {});
            
            
            await queryInterface.bulkDelete('discovery_items', null, {});
            
            
            await queryInterface.bulkDelete('streams', null, {});
            
            
            await queryInterface.bulkDelete('videos', null, {});
            
            
            await queryInterface.bulkDelete('comments', null, {});
            
            
            await queryInterface.bulkDelete('playlists', null, {});
            
            
            await queryInterface.bulkDelete('playlist_items', null, {});
            
            
            await queryInterface.bulkDelete('tip_pages', null, {});
            
            
            await queryInterface.bulkDelete('tips', null, {});
            
            
            await queryInterface.bulkDelete('alert_profiles', null, {});
            
            
            await queryInterface.bulkDelete('alerts', null, {});
            
            
            await queryInterface.bulkDelete('overlay_profiles', null, {});
            
            
            await queryInterface.bulkDelete('widget_catalog_items', null, {});
            
            
            await queryInterface.bulkDelete('overlay_widgets', null, {});
            
            
            await queryInterface.bulkDelete('merch_stores', null, {});
            
            
            await queryInterface.bulkDelete('products', null, {});
            
            
            await queryInterface.bulkDelete('product_variants', null, {});
            
            
            await queryInterface.bulkDelete('orders', null, {});
            
            
            await queryInterface.bulkDelete('order_items', null, {});
            
            
            await queryInterface.bulkDelete('shipping_profiles', null, {});
            
            
            await queryInterface.bulkDelete('private_mailboxes', null, {});
            
            
            await queryInterface.bulkDelete('messages', null, {});
            
            
            await queryInterface.bulkDelete('reports', null, {});
            
            
            await queryInterface.bulkDelete('demo_wallets', null, {});
            
            
            await queryInterface.bulkDelete('wallet_transactions', null, {});
            
        
    },
};