<reponame>Sieltek/site_guitare
# Generated by Django 2.2.9 on 2020-01-29 19:22

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='GuitareModel',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('nom_guitare', models.CharField(max_length=150)),
                ('type_guitare', models.CharField(max_length=150)),
                ('description_guitare', models.TextField(null=True)),
                ('prix_guitare', models.PositiveIntegerField()),
                ('photo_guitare', models.ImageField(upload_to='')),
                ('user_guitare', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]

# Generated by Django 2.2.9 on 2020-01-29 19:22

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='GuitareModel',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('nom_guitare', models.CharField(max_length=150)),
                ('type_guitare', models.CharField(max_length=150)),
                ('description_guitare', models.TextField(null=True)),
                ('prix_guitare', models.PositiveIntegerField()),
                ('photo_guitare', models.ImageField(upload_to='')),
                ('user_guitare', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
# Generated by Django 2.2.9 on 2020-01-29 19:22