25 lines
742 B
Python
25 lines
742 B
Python
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = []
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='PhoneCall',
|
|
fields=[
|
|
(
|
|
'id',
|
|
models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True),
|
|
),
|
|
('number', models.CharField(max_length=20, verbose_name='Number')),
|
|
('creation_timestamp', models.DateTimeField(auto_now_add=True)),
|
|
('last_update_timestamp', models.DateTimeField(auto_now=True)),
|
|
],
|
|
options={
|
|
'verbose_name': 'Phone Call',
|
|
},
|
|
),
|
|
]
|