deployment stuff
[cas.git] / src / ssh_keys / migrations / 0001_initial.py
1 # Generated by Django 2.1.7 on 2019-03-30 13:11
2
3 from django.conf import settings
4 from django.db import migrations, models
5 import django.db.models.deletion
6
7
8 class Migration(migrations.Migration):
9
10     initial = True
11
12     dependencies = [
13         migrations.swappable_dependency(settings.AUTH_USER_MODEL),
14     ]
15
16     operations = [
17         migrations.CreateModel(
18             name='SSHKey',
19             fields=[
20                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
21                 ('key', models.TextField()),
22                 ('created_at', models.DateTimeField(auto_now_add=True)),
23                 ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
24             ],
25         ),
26     ]