30 lines
887 B
Python
30 lines
887 B
Python
|
# Generated by Django 3.1.3 on 2020-11-19 02:46
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
initial = True
|
||
|
|
||
|
dependencies = [
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='Servicio',
|
||
|
fields=[
|
||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('titulo', models.CharField(max_length=50)),
|
||
|
('contenido', models.CharField(max_length=50)),
|
||
|
('imagen', models.ImageField(upload_to='')),
|
||
|
('created', models.DateTimeField(auto_now_add=True)),
|
||
|
('updated', models.DateTimeField(auto_now_add=True)),
|
||
|
],
|
||
|
options={
|
||
|
'verbose_name': 'servicio',
|
||
|
'verbose_name_plural': 'servicios',
|
||
|
},
|
||
|
),
|
||
|
]
|