Skip to content
Snippets Groups Projects

Stats

Merged Jane Wiik Larsen requested to merge stats into master
8 files
+ 186
44
Compare changes
  • Side-by-side
  • Inline
Files
8
# Generated by Django 3.1 on 2022-03-14 14:47
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('workouts', '0004_auto_20211020_0950'),
]
operations = [
migrations.CreateModel(
name='Statistics',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('date', models.DateTimeField()),
('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='statistics', to=settings.AUTH_USER_MODEL)),
],
options={
'ordering': ['date'],
},
),
]
Loading