mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
31 lines
1.0 KiB
Python
31 lines
1.0 KiB
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import models, migrations
|
|
import RIGS.models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('RIGS', '0003_auto_20141031_0219'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Organisation',
|
|
fields=[
|
|
('id', models.AutoField(verbose_name='ID', auto_created=True, primary_key=True, serialize=False)),
|
|
('name', models.CharField(max_length=50)),
|
|
('phone', models.CharField(null=True, blank=True, max_length=15)),
|
|
('email', models.EmailField(null=True, blank=True, max_length=75)),
|
|
('address', models.TextField(null=True, blank=True)),
|
|
('notes', models.TextField(null=True, blank=True)),
|
|
('unionAccount', models.BooleanField(default=False)),
|
|
],
|
|
options={
|
|
},
|
|
bases=(models.Model, RIGS.models.RevisionMixin),
|
|
),
|
|
]
|