Merge commit '20dd880a11a008ba95cd5aedce59590445430831' into develop

This commit is contained in:
Marcus Scholz 2020-12-24 14:57:09 +01:00
commit c7368f5c44
3 changed files with 42 additions and 42 deletions

View File

@ -1,22 +0,0 @@
# Generated by Django 3.1.1 on 2020-10-04 19:37
# Edited by reverend
import datetime
from django.db import migrations, models
import django.utils.timezone
from django.utils.timezone import utc
class Migration(migrations.Migration):
dependencies = [
('lostplaces', '0001_initial'),
]
operations = [
migrations.DeleteModel(
name='Voucher'
),
migrations.DeleteModel(
name='Expireable'
)
]

View File

@ -0,0 +1,22 @@
# Generated by Django 3.1.1 on 2020-10-04 19:37
# Edited by reverend
import datetime
from django.db import migrations, models
import django.utils.timezone
from django.utils.timezone import utc
class Migration(migrations.Migration):
dependencies = [
('lostplaces', '0001_initial'),
]
operations = [
migrations.DeleteModel(
name='Voucher'
),
migrations.DeleteModel(
name='Expireable'
)
]

View File

@ -1,25 +1,25 @@
# Generated by Django 3.1.1 on 2020-10-04 19:52 # Generated by Django 3.1.1 on 2020-10-04 19:52
from django.db import migrations, models from django.db import migrations, models
class Migration(migrations.Migration): class Migration(migrations.Migration):
dependencies = [ dependencies = [
('lostplaces', '0002_reomve_vouchers'), ('lostplaces', '0002_reomve_vouchers'),
] ]
operations = [ operations = [
migrations.CreateModel( migrations.CreateModel(
name='Voucher', name='Voucher',
fields=[ fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created_when', models.DateTimeField(auto_now_add=True)), ('created_when', models.DateTimeField(auto_now_add=True)),
('expires_when', models.DateTimeField()), ('expires_when', models.DateTimeField()),
('code', models.CharField(max_length=30, unique=True)), ('code', models.CharField(max_length=30, unique=True)),
], ],
options={ options={
'abstract': False, 'abstract': False,
}, },
), ),
] ]