Skip to content

Commit

Permalink
#109 Add migration files
Browse files Browse the repository at this point in the history
  • Loading branch information
joshasgard committed Apr 14, 2022
1 parent 7bf592d commit 11f32af
Showing 1 changed file with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Generated by Django 4.0.4 on 2022-04-14 00:49

import django.core.validators
from django.db import migrations, models
import django.utils.timezone
import zezere.models


class Migration(migrations.Migration):

dependencies = [
('zezere', '0012_auto_20200323_1130'),
]

operations = [
migrations.AddField(
model_name='sshkey',
name='date',
field=models.DateField(auto_now_add=True, default=django.utils.timezone.now),
preserve_default=False,
),
migrations.AddField(
model_name='sshkey',
name='title',
field=models.CharField(blank=True, max_length=10, verbose_name='SSH title'),
),
migrations.AlterField(
model_name='device',
name='mac_address',
field=models.CharField(max_length=20, unique=True, validators=[django.core.validators.RegexValidator('^([0-9A-F]{2}[:]){5}([0-9A-F]{2})$'), zezere.models.validator_disallow_blacklisted_mac], verbose_name='Device MAC Address'),
),
]

0 comments on commit 11f32af

Please sign in to comment.