+# Generated by Django 2.1.7 on 2019-03-30 13:31
+
+from django.conf import settings
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ initial = True
+
+ dependencies = [
+ migrations.swappable_dependency(settings.AUTH_USER_MODEL),
+ ('auth', '0009_alter_user_last_name_max_length'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Hook',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('email', models.CharField(max_length=255)),
+ ],
+ ),
+ migrations.CreateModel(
+ name='Service',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('name', models.CharField(max_length=255)),
+ ('url', models.URLField(blank=True)),
+ ('key', models.CharField(blank=True, max_length=255)),
+ ('uses_ssh', models.BooleanField(default=False)),
+ ('groups', models.ManyToManyField(blank=True, to='auth.Group')),
+ ('users', models.ManyToManyField(blank=True, to=settings.AUTH_USER_MODEL)),
+ ],
+ options={
+ 'ordering': ('name',),
+ },
+ ),
+ migrations.AddField(
+ model_name='hook',
+ name='service',
+ field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='services.Service'),
+ ),
+ ]