8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-26 22:52:26 +00:00
re2o/topologie/migrations/0001_initial.py

23 lines
611 B
Python
Raw Normal View History

2016-07-03 01:12:41 +00:00
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
2016-07-03 12:02:46 +00:00
name='Switch',
2016-07-03 01:12:41 +00:00
fields=[
2016-07-03 12:02:46 +00:00
('id', models.AutoField(auto_created=True, primary_key=True, verbose_name='ID', serialize=False)),
2016-07-03 01:12:41 +00:00
('building', models.CharField(max_length=10)),
2016-07-03 12:02:46 +00:00
('number', models.IntegerField()),
('details', models.CharField(max_length=255, blank=True)),
2016-07-03 01:12:41 +00:00
],
),
]