legacy/pairent_backend/pairent_app/migrations/0004_apartament_lastprice.py

20 lines
582 B
Python

# Generated by Django 4.1.7 on 2023-05-04 10:24
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('pairent_app', '0003_alter_photo_image'),
]
operations = [
migrations.AddField(
model_name='apartament',
name='lastPrice',
field=models.IntegerField(default=0, validators=[django.core.validators.MaxValueValidator(450000)], verbose_name='Прошлая стоимость аренды квартиры за месяц'),
),
]