# Migrations

initial migrations commit
This commit is contained in:
mpeltriaux committed 2022-02-02 08:46:08 +01:00
1 parent de3f96d4a8
commit 0bd2e5ffef
23 files changed
+1034 -2

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
# Generated by Django 3.1.3 on 2022-01-28 15:48
from django.db import migrations, models
import konova.utils.generators
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='APIUserToken',
fields=[
('token', models.CharField(default=konova.utils.generators.generate_token, max_length=1000, primary_key=True, serialize=False)),
('valid_until', models.DateField(blank=True, help_text='Token is only valid until this date', null=True)),
('is_active', models.BooleanField(default=False, help_text='Must be activated by an admin')),
],
),
]
View File
Whitespace-only changes.