권주희

Merge branch 'feature/item_api' into 'develop'

add model column



See merge request !6
# Generated by Django 3.0.6 on 2020-06-10 13:29
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('api', '0007_auto_20200610_1217'),
]
operations = [
migrations.AddField(
model_name='item',
name='file_type',
field=models.CharField(max_length=100, null=True),
),
]
......@@ -5,6 +5,7 @@ class Item(models.Model):
item_id = models.AutoField(primary_key = True)
is_folder = models.BooleanField(default = False)
name = models.CharField(max_length = 50)
file_type = models.CharField(max_length=100, null=True) # signed_url 생성을 위해 file type 세팅
path = models.TextField()
#parent = models.ForeignKey('Item', on_delete=models.CASCADE, null=True) #related_name
parent = models.IntegerField()
......