|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- # Generated by Django 3.0.7 on 2020-12-18 16:29
-
- from django.conf import settings
- from django.db import migrations, models
- import django.db.models.deletion
- import uuid
-
-
- class Migration(migrations.Migration):
-
- dependencies = [
- ("api", "0007_lesspassuser_key"),
- ]
-
- operations = [
- migrations.CreateModel(
- name="EncryptedPasswordProfile",
- fields=[
- (
- "created",
- models.DateTimeField(auto_now_add=True, verbose_name="created"),
- ),
- (
- "modified",
- models.DateTimeField(auto_now=True, verbose_name="modified"),
- ),
- (
- "id",
- models.UUIDField(
- default=uuid.uuid4,
- editable=False,
- primary_key=True,
- serialize=False,
- ),
- ),
- ("password_profile", models.TextField()),
- (
- "user",
- models.ForeignKey(
- on_delete=django.db.models.deletion.CASCADE,
- related_name="encrypted_password_profiles",
- to=settings.AUTH_USER_MODEL,
- ),
- ),
- ],
- options={
- "abstract": False,
- },
- ),
- ]
|