-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
714fd5f
commit f5fb628
Showing
1 changed file
with
47 additions
and
0 deletions.
There are no files selected for viewing
47 changes: 47 additions & 0 deletions
47
openwisp_controller/config/migrations/0008_update_indexes.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.10.7 on 2017-05-15 16:41 | ||
from __future__ import unicode_literals | ||
|
||
import django.core.validators | ||
from django.db import migrations, models | ||
import re | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('config', '0007_simplify_config'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='device', | ||
name='mac_address', | ||
field=models.CharField(db_index=True, help_text='primary mac address', max_length=17, unique=True, validators=[django.core.validators.RegexValidator(re.compile('^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})', 32), code='invalid', message='Must be a valid mac address.')]), | ||
), | ||
migrations.AlterField( | ||
model_name='device', | ||
name='model', | ||
field=models.CharField(blank=True, db_index=True, help_text='device model and manufacturer', max_length=64), | ||
), | ||
migrations.AlterField( | ||
model_name='device', | ||
name='name', | ||
field=models.CharField(db_index=True, max_length=64, unique=True), | ||
), | ||
migrations.AlterField( | ||
model_name='device', | ||
name='os', | ||
field=models.CharField(blank=True, db_index=True, help_text='operating system identifier', max_length=128, verbose_name='operating system'), | ||
), | ||
migrations.AlterField( | ||
model_name='template', | ||
name='name', | ||
field=models.CharField(db_index=True, max_length=64, unique=True), | ||
), | ||
migrations.AlterField( | ||
model_name='vpn', | ||
name='name', | ||
field=models.CharField(db_index=True, max_length=64, unique=True), | ||
), | ||
] |