poli_planning/polyclinic_scheduling/apps/hospital/migrations/0001_initial.py

31 lines
1.5 KiB
Python

# Generated by Django 3.0.6 on 2020-05-13 13:33
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Hospital',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created_at', models.DateTimeField(auto_now_add=True, help_text='The date and time this model has been created', verbose_name='Date created')),
('updated_at', models.DateTimeField(auto_now=True, help_text='The date and time this model has been updated', verbose_name='Date updated')),
('name', models.CharField(help_text='The name of this hospital', max_length=200, verbose_name='Name')),
('address', models.CharField(blank=True, help_text='The address of this hospital', max_length=200, verbose_name='Address')),
('postal_code', models.CharField(blank=True, help_text='The postal code of this hospital', max_length=10, verbose_name='Postal code')),
('city', models.CharField(blank=True, help_text='The city of this hospital', max_length=60, verbose_name='City')),
('phone', models.CharField(blank=True, help_text='The general phone number of this hospital', max_length=18, verbose_name='Phone number')),
],
options={
'abstract': False,
},
),
]