diff --git a/booth/migrations/0009_alter_boothmenu_menu_name.py b/booth/migrations/0009_alter_boothmenu_menu_name.py new file mode 100644 index 0000000..acaba9e --- /dev/null +++ b/booth/migrations/0009_alter_boothmenu_menu_name.py @@ -0,0 +1,18 @@ +# Generated by Django 5.1.1 on 2025-05-26 15:13 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('booth', '0008_alter_booth_gdg_id'), + ] + + operations = [ + migrations.AlterField( + model_name='boothmenu', + name='menu_name', + field=models.TextField(verbose_name='메뉴 이름'), + ), + ] diff --git a/booth/migrations/0010_alter_boothmenu_menu_name.py b/booth/migrations/0010_alter_boothmenu_menu_name.py new file mode 100644 index 0000000..1e5dda7 --- /dev/null +++ b/booth/migrations/0010_alter_boothmenu_menu_name.py @@ -0,0 +1,18 @@ +# Generated by Django 5.1.1 on 2025-05-26 15:14 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('booth', '0009_alter_boothmenu_menu_name'), + ] + + operations = [ + migrations.AlterField( + model_name='boothmenu', + name='menu_name', + field=models.CharField(max_length=100, verbose_name='메뉴 이름'), + ), + ] diff --git a/booth/migrations/0011_alter_boothmenu_menu_name.py b/booth/migrations/0011_alter_boothmenu_menu_name.py new file mode 100644 index 0000000..a9ce90d --- /dev/null +++ b/booth/migrations/0011_alter_boothmenu_menu_name.py @@ -0,0 +1,18 @@ +# Generated by Django 5.1.1 on 2025-05-26 15:16 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('booth', '0010_alter_boothmenu_menu_name'), + ] + + operations = [ + migrations.AlterField( + model_name='boothmenu', + name='menu_name', + field=models.TextField(verbose_name='메뉴 이름'), + ), + ] diff --git a/booth/models.py b/booth/models.py index 526946b..5a10955 100644 --- a/booth/models.py +++ b/booth/models.py @@ -42,7 +42,7 @@ def __str__(self): class BoothMenu(models.Model): menu_id = models.AutoField(primary_key=True) booth = models.ForeignKey(Booth, on_delete=models.CASCADE, related_name="booth_menus") - menu_name = models.CharField(max_length=100, verbose_name="메뉴 이름") + menu_name = models.TextField(verbose_name="메뉴 이름") menu_price = models.IntegerField(verbose_name="메뉴 가격") def __str__(self):