1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2024-12-30 21:42:22 +00:00
med/users/migrations/0004_clef.py
2017-07-03 20:06:21 +02:00

26 lines
775 B
Python

# -*- coding: utf-8 -*-
# Generated by Django 1.11.2 on 2017-07-03 16:44
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('users', '0003_auto_20170629_2156'),
]
operations = [
migrations.CreateModel(
name='Clef',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('nom', models.CharField(max_length=255, unique=True)),
('proprio', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL)),
],
),
]