Add migrations to the small apps.
[htsworkflow.git] / bcmagic / migrations / 0001_initial.py
1 # -*- coding: utf-8 -*-
2 # Generated by Django 1.9.4 on 2016-04-07 21:20
3 from __future__ import unicode_literals
4
5 from django.db import migrations, models
6
7
8 class Migration(migrations.Migration):
9
10     initial = True
11
12     dependencies = [
13     ]
14
15     operations = [
16         migrations.CreateModel(
17             name='KeywordMap',
18             fields=[
19                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
20                 ('keyword', models.CharField(max_length=64)),
21                 ('regex', models.CharField(max_length=1024)),
22                 ('url_template', models.TextField()),
23             ],
24         ),
25         migrations.CreateModel(
26             name='Printer',
27             fields=[
28                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
29                 ('name', models.CharField(max_length=256)),
30                 ('model', models.CharField(choices=[('Zebra ZM400', 'Zebra ZM400'), ('Zebra ZM600', 'Zebra ZM600')], max_length=64)),
31                 ('ip_address', models.GenericIPAddressField()),
32                 ('label_shape', models.CharField(choices=[('Square', 'Square'), ('Circle', 'Circle')], max_length=32)),
33                 ('label_width', models.FloatField(help_text='width or diameter in inches')),
34                 ('label_height', models.FloatField(help_text='height in inches')),
35                 ('notes', models.TextField()),
36             ],
37         ),
38     ]