# Generated by Django 3.2.12 on 2022-08-09 17:35

from django.db import migrations


def populate_kioblog_settings(apps, schema_editor):
    setting_model = apps.get_model('kioblog', 'Meta')
    setting_model.objects.get_or_create(key='social_twitter', value='https://twitter.com/kioblog')
    setting_model.objects.get_or_create(key='social_facebook', value='https://facebook.com/kioblog')
    setting_model.objects.get_or_create(key='social_instagram', value='https://instagram.com/kioblog')
    setting_model.objects.get_or_create(key='social_youtube', value='https://youtube.com/kioblog')
    setting_model.objects.get_or_create(key='social_twitch', value='https://twitch.com/kioblog')


class Migration(migrations.Migration):

    dependencies = [
        ('kioblog', '0002_auto_20220724_1836'),
    ]

    operations = [
        migrations.RunPython(populate_kioblog_settings),
    ]
