# Generated by Django 3.1.7 on 2021-04-14 09:38

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Topic3',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=255, verbose_name='タイトル')),
                ('message', models.TextField(null=True, verbose_name='本文')),
                ('created', models.DateTimeField(auto_now_add=True)),
                ('modified', models.DateTimeField(auto_now=True)),
                ('user_name', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='Vote',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('ip_address', models.CharField(max_length=50, verbose_name='IPアドレス')),
                ('topic', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='trade.topic3')),
            ],
        ),
        migrations.CreateModel(
            name='Comment3',
            fields=[
                ('id', models.BigAutoField(primary_key=True, serialize=False)),
                ('no', models.IntegerField(default=0)),
                ('message', models.TextField(verbose_name='投稿内容')),
                ('pub_flg', models.BooleanField(default=True)),
                ('created', models.DateTimeField(auto_now_add=True)),
                ('topic', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='trade.topic3')),
                ('user_name', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]

4e7fc42dd6896e50a2656d4397b4058186a085a7
<mask token>

<mask token>


class Migration(migrations.Migration):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Migration(migrations.Migration):
    initial = True
    dependencies = [migrations.swappable_dependency(settings.AUTH_USER_MODEL)]
    operations = [migrations.CreateModel(name='Topic3', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('title', models.CharField(max_length=
        255, verbose_name='タイトル')), ('message', models.TextField(null=True,
        verbose_name='本文')), ('created', models.DateTimeField(auto_now_add=
        True)), ('modified', models.DateTimeField(auto_now=True)), (
        'user_name', models.ForeignKey(on_delete=django.db.models.deletion.
        CASCADE, to=settings.AUTH_USER_MODEL))]), migrations.CreateModel(
        name='Vote', fields=[('id', models.AutoField(auto_created=True,
        primary_key=True, serialize=False, verbose_name='ID')), (
        'ip_address', models.CharField(max_length=50, verbose_name='IPアドレス'
        )), ('topic', models.ForeignKey(null=True, on_delete=django.db.
        models.deletion.CASCADE, to='trade.topic3'))]), migrations.
        CreateModel(name='Comment3', fields=[('id', models.BigAutoField(
        primary_key=True, serialize=False)), ('no', models.IntegerField(
        default=0)), ('message', models.TextField(verbose_name='投稿内容')), (
        'pub_flg', models.BooleanField(default=True)), ('created', models.
        DateTimeField(auto_now_add=True)), ('topic', models.ForeignKey(
        on_delete=django.db.models.deletion.PROTECT, to='trade.topic3')), (
        'user_name', models.ForeignKey(on_delete=django.db.models.deletion.
        CASCADE, to=settings.AUTH_USER_MODEL))])]

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):
    initial = True
    dependencies = [migrations.swappable_dependency(settings.AUTH_USER_MODEL)]
    operations = [migrations.CreateModel(name='Topic3', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('title', models.CharField(max_length=
        255, verbose_name='タイトル')), ('message', models.TextField(null=True,
        verbose_name='本文')), ('created', models.DateTimeField(auto_now_add=
        True)), ('modified', models.DateTimeField(auto_now=True)), (
        'user_name', models.ForeignKey(on_delete=django.db.models.deletion.
        CASCADE, to=settings.AUTH_USER_MODEL))]), migrations.CreateModel(
        name='Vote', fields=[('id', models.AutoField(auto_created=True,
        primary_key=True, serialize=False, verbose_name='ID')), (
        'ip_address', models.CharField(max_length=50, verbose_name='IPアドレス'
        )), ('topic', models.ForeignKey(null=True, on_delete=django.db.
        models.deletion.CASCADE, to='trade.topic3'))]), migrations.
        CreateModel(name='Comment3', fields=[('id', models.BigAutoField(
        primary_key=True, serialize=False)), ('no', models.IntegerField(
        default=0)), ('message', models.TextField(verbose_name='投稿内容')), (
        'pub_flg', models.BooleanField(default=True)), ('created', models.
        DateTimeField(auto_now_add=True)), ('topic', models.ForeignKey(
        on_delete=django.db.models.deletion.PROTECT, to='trade.topic3')), (
        'user_name', models.ForeignKey(on_delete=django.db.models.deletion.
        CASCADE, to=settings.AUTH_USER_MODEL))])]

# Generated by Django 3.1.7 on 2021-04-14 09:38

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Topic3',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=255, verbose_name='タイトル')),
                ('message', models.TextField(null=True, verbose_name='本文')),
                ('created', models.DateTimeField(auto_now_add=True)),
                ('modified', models.DateTimeField(auto_now=True)),
                ('user_name', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='Vote',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('ip_address', models.CharField(max_length=50, verbose_name='IPアドレス')),
                ('topic', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='trade.topic3')),
            ],
        ),
        migrations.CreateModel(
            name='Comment3',
            fields=[
                ('id', models.BigAutoField(primary_key=True, serialize=False)),
                ('no', models.IntegerField(default=0)),
                ('message', models.TextField(verbose_name='投稿内容')),
                ('pub_flg', models.BooleanField(default=True)),
                ('created', models.DateTimeField(auto_now_add=True)),
                ('topic', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='trade.topic3')),
                ('user_name', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
