1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-11-01 12:04:15 +00:00
webvirtcloud/computes/migrations/0001_initial.py

28 lines
812 B
Python
Raw Normal View History

2015-02-27 08:53:51 +00:00
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='Compute',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('name', models.CharField(max_length=20)),
('hostname', models.CharField(max_length=20)),
('login', models.CharField(max_length=20)),
('password', models.CharField(max_length=14, null=True, blank=True)),
('type', models.IntegerField()),
],
options={
},
bases=(models.Model,),
),
]